linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: xt_LOG: remove unused headers
@ 2019-12-24 11:56 Geliang Tang
  0 siblings, 0 replies; only message in thread
From: Geliang Tang @ 2019-12-24 11:56 UTC (permalink / raw)
  To: Pablo Neira Ayuso, Jozsef Kadlecsik, Florian Westphal, David S. Miller
  Cc: Geliang Tang, netfilter-devel, coreteam, netdev, linux-kernel

Some headers are not used so remove them.

Signed-off-by: Geliang Tang <geliangtang@gmail.com>
---
 net/netfilter/xt_LOG.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/net/netfilter/xt_LOG.c b/net/netfilter/xt_LOG.c
index a1e79b517c01..f5086a6b700a 100644
--- a/net/netfilter/xt_LOG.c
+++ b/net/netfilter/xt_LOG.c
@@ -9,15 +9,7 @@
 
 #define pr_fmt(fmt) KBUILD_MODNAME ": " fmt
 #include <linux/module.h>
-#include <linux/spinlock.h>
 #include <linux/skbuff.h>
-#include <linux/if_arp.h>
-#include <linux/ip.h>
-#include <net/ipv6.h>
-#include <net/icmp.h>
-#include <net/udp.h>
-#include <net/tcp.h>
-#include <net/route.h>
 
 #include <linux/netfilter.h>
 #include <linux/netfilter/x_tables.h>
-- 
2.17.1



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-12-24 12:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-24 11:56 [PATCH] netfilter: xt_LOG: remove unused headers Geliang Tang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).