Skip to contentSkip to conversation

kernel: remove HIPQUAD()

PATCH Applied Harvey Harrison 2 participants 2 messages Mar 29, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/3 kernel: remove HIPQUAD()

All users have been removed.

---
 include/linux/kernel.h |   12 ------------
 1 files changed, 0 insertions(+), 12 deletions(-)
include/linux/kernel.h +0 -12
index 914918a..f81d80f 100644
@@ -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
Signature · 1 line
1.6.2.1.507.g0e68d