Skip to content

Commit

Permalink
kernel.h: remove unused NIPQUAD and NIPQUAD_FMT
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Joe Perches authored and Linus Torvalds committed Aug 10, 2010
1 parent cb8a88b commit cf4ca48
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions include/linux/kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -615,17 +615,6 @@ ftrace_vprintk(const char *fmt, va_list ap)
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
Expand Down

0 comments on commit cf4ca48

Please sign in to comment.