[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20140531110628.GA30443@shodan.fritz.box>
Date: Sat, 31 May 2014 13:06:28 +0200
From: Robin Schroer <sulamiification@...il.com>
To: pablo@...filter.org
Cc: netfilter-devel@...r.kernel.org, netfilter@...r.kernel.org,
coreteam@...filter.org, linux-kernel@...r.kernel.org
Subject: [PATCH] driver/netfilter/nfnetlink: removed unused variable
Removes the unused struct net *net = sock_net(skb->sk);
Signed-off-by: Robin Schroer <sulamiification@...il.com>
---
net/netfilter/nfnetlink.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/net/netfilter/nfnetlink.c b/net/netfilter/nfnetlink.c
index c138b8f..5cc9db2 100644
--- a/net/netfilter/nfnetlink.c
+++ b/net/netfilter/nfnetlink.c
@@ -226,7 +226,6 @@ static void nfnetlink_rcv_batch(struct sk_buff *skb, struct nlmsghdr *nlh,
u_int16_t subsys_id)
{
struct sk_buff *nskb, *oskb = skb;
- struct net *net = sock_net(skb->sk);
const struct nfnetlink_subsystem *ss;
const struct nfnl_callback *nc;
bool success = true, done = false;
--
1.9.3
--
Robin Schroer
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists