projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb8a88b
)
kernel.h: remove unused NIPQUAD and NIPQUAD_FMT
author
Joe Perches
<
[email protected]
>
Tue, 10 Aug 2010 00:20:20 +0000
(17:20 -0700)
committer
Linus Torvalds
<
[email protected]
>
Tue, 10 Aug 2010 03:45:05 +0000
(20:45 -0700)
There are no more uses of NIPQUAD or NIPQUAD_FMT. Remove the definitions.
Signed-off-by: Joe Perches <
[email protected]
>
Cc: "David S. Miller" <
[email protected]
>
Signed-off-by: Andrew Morton <
[email protected]
>
Signed-off-by: Linus Torvalds <
[email protected]
>
include/linux/kernel.h
patch
|
blob
|
history
diff --git
a/include/linux/kernel.h
b/include/linux/kernel.h
index 7d5b10ff63e0649562d26611fa98de5b57c4600e..5b57236dfbd05f6a7ae246c86daa8583c4636558 100644
(file)
--- a/
include/linux/kernel.h
+++ b/
include/linux/kernel.h
@@
-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