netfilter-devel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] netfilter: fix the warning on unused refcount variable
@ 2017-03-20  9:43 Elena Reshetova
  2017-03-20  9:50 ` Pablo Neira Ayuso
  0 siblings, 1 reply; 2+ messages in thread
From: Elena Reshetova @ 2017-03-20  9:43 UTC (permalink / raw)
  To: pablo; +Cc: netfilter-devel, linux-kernel, sfr, Elena Reshetova

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

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] netfilter: fix the warning on unused refcount variable
  2017-03-20  9:43 [PATCH] netfilter: fix the warning on unused refcount variable Elena Reshetova
@ 2017-03-20  9:50 ` Pablo Neira Ayuso
  0 siblings, 0 replies; 2+ messages in thread
From: Pablo Neira Ayuso @ 2017-03-20  9:50 UTC (permalink / raw)
  To: Elena Reshetova; +Cc: netfilter-devel, linux-kernel, sfr

Applied.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-03-20  9:51 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-20  9:43 [PATCH] netfilter: fix the warning on unused refcount variable Elena Reshetova
2017-03-20  9:50 ` Pablo Neira Ayuso

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).