[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20170724172523.13135-5-sthemmin@microsoft.com>
Date: Mon, 24 Jul 2017 10:25:21 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: marcel@...tmann.org, gustavo@...ovan.org, johan.hedberg@...il.com,
davem@...emloft.net, pablo@...filter.org, kadlec@...ckhole.kfki.hu,
fw@...len.de
Cc: netdev@...r.kernel.org, linux-bluetooth@...r.kernel.org,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
Stephen Hemminger <sthemmin@...rosoft.com>
Subject: [PATCH net-next 4/6] netfilter: remove unused variable
warning: ‘recent_old_fops’ defined but not used
Signed-off-by: Stephen Hemminger <sthemmin@...rosoft.com>
---
net/netfilter/xt_recent.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/netfilter/xt_recent.c b/net/netfilter/xt_recent.c
index 3f6c4fa78bdb..245fa350a7a8 100644
--- a/net/netfilter/xt_recent.c
+++ b/net/netfilter/xt_recent.c
@@ -106,7 +106,7 @@ static DEFINE_SPINLOCK(recent_lock);
static DEFINE_MUTEX(recent_mutex);
#ifdef CONFIG_PROC_FS
-static const struct file_operations recent_old_fops, recent_mt_fops;
+static const struct file_operations recent_mt_fops;
#endif
static u_int32_t hash_rnd __read_mostly;
--
2.11.0
Powered by blists - more mailing lists