aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/linux/kernel.h11
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) { }
616#endif /* CONFIG_TRACING */ 616#endif /* CONFIG_TRACING */
617 617
618/* 618/*
619 * Display an IP address in readable format.
620 */
621
622#define NIPQUAD(addr) \
623 ((unsigned char *)&addr)[0], \
624 ((unsigned char *)&addr)[1], \
625 ((unsigned char *)&addr)[2], \
626 ((unsigned char *)&addr)[3]
627#define NIPQUAD_FMT "%u.%u.%u.%u"
628
629/*
630 * min()/max()/clamp() macros that also do 619 * min()/max()/clamp() macros that also do
631 * strict type-checking.. See the 620 * strict type-checking.. See the
632 * "unnecessary" pointer comparison. 621 * "unnecessary" pointer comparison.