Commit 2c60b688 authored by Harvey Harrison's avatar Harvey Harrison Committed by David S. Miller

kernel: remove HIPQUAD()

All users have been removed.
Signed-off-by: default avatarHarvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e7557af5
...@@ -379,18 +379,6 @@ static inline char *pack_hex_byte(char *buf, u8 byte) ...@@ -379,18 +379,6 @@ static inline char *pack_hex_byte(char *buf, u8 byte)
((unsigned char *)&addr)[3] ((unsigned char *)&addr)[3]
#define NIPQUAD_FMT "%u.%u.%u.%u" #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 * min()/max()/clamp() macros that also do
* strict type-checking.. See the * strict type-checking.. See the
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment