Skip to content

Commit

Permalink
kernel: remove HIPQUAD()
Browse files Browse the repository at this point in the history
All users have been removed.

Signed-off-by: Harvey Harrison <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
hharrison authored and davem330 committed Mar 29, 2009
1 parent e7557af commit 2c60b68
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -379,18 +379,6 @@ static inline char *pack_hex_byte(char *buf, u8 byte)
((unsigned char *)&addr)[3]
#define NIPQUAD_FMT "%u.%u.%u.%u"

#if defined(__LITTLE_ENDIAN)
#define HIPQUAD(addr) \
((unsigned char *)&addr)[3], \
((unsigned char *)&addr)[2], \
((unsigned char *)&addr)[1], \
((unsigned char *)&addr)[0]
#elif defined(__BIG_ENDIAN)
#define HIPQUAD NIPQUAD
#else
#error "Please fix asm/byteorder.h"
#endif /* __LITTLE_ENDIAN */

/*
* min()/max()/clamp() macros that also do
* strict type-checking.. See the
Expand Down

0 comments on commit 2c60b68

Please sign in to comment.