Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1604297 > unrolled thread
| Started by | Elena Reshetova <elena.reshetova@intel.com> |
|---|---|
| First post | 2017-03-20 10:50 +0100 |
| Last post | 2017-03-20 11:00 +0100 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
[PATCH] netfilter: fix the warning on unused refcount variable Elena Reshetova <elena.reshetova@intel.com> - 2017-03-20 10:50 +0100
Re: [PATCH] netfilter: fix the warning on unused refcount variable Pablo Neira Ayuso <pablo@netfilter.org> - 2017-03-20 11:00 +0100
| From | Elena Reshetova <elena.reshetova@intel.com> |
|---|---|
| Date | 2017-03-20 10:50 +0100 |
| Subject | [PATCH] netfilter: fix the warning on unused refcount variable |
| Message-ID | <tn26S-2MC-21@gated-at.bofh.it> |
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
[toc] | [next] | [standalone]
| From | Pablo Neira Ayuso <pablo@netfilter.org> |
|---|---|
| Date | 2017-03-20 11:00 +0100 |
| Message-ID | <tn2gA-2R9-69@gated-at.bofh.it> |
| In reply to | #1604297 |
Applied.
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web