* [PATCH] kernel.h: Remove unused NIPQUAD and NIPQUAD_FMT
@ 2010-06-02 19:58 Joe Perches
0 siblings, 0 replies; only message in thread
From: Joe Perches @ 2010-06-02 19:58 UTC (permalink / raw)
To: Andrew Morton; +Cc: LKML, David Miller
There are no more uses of NIPQUAD or NIPQUAD_FMT.
Remove the definitions.
Signed-off-by: Joe Perches <joe@perches.com>
---
include/linux/kernel.h | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/include/linux/kernel.h b/include/linux/kernel.h
index 8317ec4..81892d2 100644
--- a/include/linux/kernel.h
+++ b/include/linux/kernel.h
@@ -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.
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2010-06-02 19:58 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-06-02 19:58 [PATCH] kernel.h: Remove unused NIPQUAD and NIPQUAD_FMT Joe Perches
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).