From: stephen hemminger Date: Mon, 24 Jul 2017 17:25:21 +0000 (-0700) Subject: netfilter: remove unused variable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=3754b87a4e2d8cad644cea9713fed7842504991a;p=openwrt%2Fstaging%2Fblogic.git netfilter: remove unused variable warning: ‘recent_old_fops’ defined but not used Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- 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;