aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarvey Harrison <harvey.harrison@gmail.com>2009-03-28 11:38:31 -0400
committerDavid S. Miller <davem@davemloft.net>2009-03-29 02:55:59 -0400
commit2c60b6885afc56a17b9d55b04c4328123063fc9d (patch)
tree4015c1b3c222056c72adb0d088e19f602c5d07fe /include
parente7557af56a576762a655f1aaaded253ad14c5958 (diff)
kernel: remove HIPQUAD()
All users have been removed. Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/linux/kernel.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 914918abfdd1..f81d80f47dcb 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -379,18 +379,6 @@ static inline char *pack_hex_byte(char *buf, u8 byte)
379 ((unsigned char *)&addr)[3] 379 ((unsigned char *)&addr)[3]
380#define NIPQUAD_FMT "%u.%u.%u.%u" 380#define NIPQUAD_FMT "%u.%u.%u.%u"
381 381
382#if defined(__LITTLE_ENDIAN)
383#define HIPQUAD(addr) \
384 ((unsigned char *)&addr)[3], \
385 ((unsigned char *)&addr)[2], \
386 ((unsigned char *)&addr)[1], \
387 ((unsigned char *)&addr)[0]
388#elif defined(__BIG_ENDIAN)
389#define HIPQUAD NIPQUAD
390#else
391#error "Please fix asm/byteorder.h"
392#endif /* __LITTLE_ENDIAN */
393
394/* 382/*
395 * min()/max()/clamp() macros that also do 383 * min()/max()/clamp() macros that also do
396 * strict type-checking.. See the 384 * strict type-checking.. See the