diff options
author | Joe Perches <joe@perches.com> | 2010-08-09 17:20:20 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-09 20:45:05 -0700 |
commit | cf4ca4874fc45166198424384275f443a672d0b7 (patch) | |
tree | 2192ff3880b11c8f4ad495a22a11c2af09f41989 /include/linux/kernel.h | |
parent | cb8a88b24bd7e3e7cf65e425f8f12d6a12371738 (diff) | |
download | linux-stable-cf4ca4874fc45166198424384275f443a672d0b7.tar.gz linux-stable-cf4ca4874fc45166198424384275f443a672d0b7.tar.bz2 linux-stable-cf4ca4874fc45166198424384275f443a672d0b7.zip |
kernel.h: remove unused NIPQUAD and NIPQUAD_FMT
There are no more uses of NIPQUAD or NIPQUAD_FMT. Remove the definitions.
Signed-off-by: Joe Perches <joe@perches.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'include/linux/kernel.h')
-rw-r--r-- | 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 7d5b10ff63e0..5b57236dfbd0 100644 --- a/include/linux/kernel.h +++ b/include/linux/kernel.h @@ -616,17 +616,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. |