lkml.org 
[lkml]   [2017]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] netfilter: fix the warning on unused refcount variable
Date
Signed-off-by: Elena Reshetova <elena.reshetova@intel.com>
---
net/netfilter/nfnetlink_acct.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/net/netfilter/nfnetlink_acct.c b/net/netfilter/nfnetlink_acct.c
index f44cbd3..c86da17 100644
--- a/net/netfilter/nfnetlink_acct.c
+++ b/net/netfilter/nfnetlink_acct.c
@@ -326,7 +326,6 @@ static int nfnl_acct_get(struct net *net, struct sock *nfnl,
static int nfnl_acct_try_del(struct nf_acct *cur)
{
int ret = 0;
- unsigned int refcount;

/* We want to avoid races with nfnl_acct_put. So only when the current
* refcnt is 1, we decrease it to 0.
--
2.7.4
\
 
 \ /
  Last update: 2017-03-20 10:47    [W:0.033 / U:39.348 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site