lkml.org 
[lkml]   [2019]   [Dec]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] netfilter: xt_LOG: remove unused headers
Date
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

\
 
 \ /
  Last update: 2019-12-24 13:13    [W:0.022 / U:4.492 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site