projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8916829
)
netfilter: remove unused variable
author
stephen hemminger
<stephen@networkplumber.org>
Mon, 24 Jul 2017 17:25:21 +0000
(10:25 -0700)
committer
David S. Miller
<davem@davemloft.net>
Tue, 25 Jul 2017 19:31:37 +0000
(12:31 -0700)
warning: ‘recent_old_fops’ defined but not used
Signed-off-by: Stephen Hemminger <sthemmin@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netfilter/xt_recent.c
patch
|
blob
|
history
diff --git
a/net/netfilter/xt_recent.c
b/net/netfilter/xt_recent.c
index 3f6c4fa78bdb717c067b57b53a0900529dcc4000..245fa350a7a85390e6767c4a0c5862f4213000fe 100644
(file)
--- 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;