From: Joe Perches Date: Tue, 10 Aug 2010 00:20:20 +0000 (-0700) Subject: kernel.h: remove unused NIPQUAD and NIPQUAD_FMT X-Git-Tag: upstream/snapshot3+hdmi~13593 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cf4ca4874fc45166198424384275f443a672d0b7;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: "David S. Miller" Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/include/linux/kernel.h b/include/linux/kernel.h index 7d5b10f..5b57236 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.