]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - include/linux/kernel.h
kernel: remove HIPQUAD()
[net-next-2.6.git] / include / linux / kernel.h
index 914918abfdd122a5bf9a6c564fd7c41693917c9b..f81d80f47dcbc14b93628df8b2bb43ad76e0db46 100644 (file)
@@ -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