Skip to contentSkip to conversation

kernel.h: Remove unused NIPQUAD and NIPQUAD_FMT

PATCH New Joe Perches 1 participant 1 message Jun 2, 2010

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 kernel.h: Remove unused NIPQUAD and NIPQUAD_FMT

There are no more uses of NIPQUAD or NIPQUAD_FMT.
Remove the definitions.

---
 include/linux/kernel.h |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)
include/linux/kernel.h +0 -11
index 8317ec4..81892d2 100644
@@ -609,17 +609,6 @@ static inline void ftrace_dump(enum ftrace_dump_mode oops_dump_mode) { }
 #endif /* CONFIG_TRACING */
 
 /*
- *      Display an IP address in readable format.
- */
-
-#define NIPQUAD(addr) \
-	((unsigned char *)&addr)[0], \
-	((unsigned char *)&addr)[1], \
-	((unsigned char *)&addr)[2], \
-	((unsigned char *)&addr)[3]
-#define NIPQUAD_FMT "%u.%u.%u.%u"
-
-/*
  * min()/max()/clamp() macros that also do
  * strict type-checking.. See the
  * "unnecessary" pointer comparison.