netfilter: nfnetlink: remove redundant variable nskb
authorDuan Jiong <duanj.fnst@cn.fujitsu.com>
Wed, 10 Dec 2014 09:21:59 +0000 (17:21 +0800)
committerPablo Neira Ayuso <pablo@soleta.eu>
Mon, 5 Jan 2015 11:10:49 +0000 (12:10 +0100)
commit0f8162326fafb266ad21ca33b2ee0e9703dd653b
tree4cfde38c16d8d87fed25319db1bf174e089e2a71
parent8aefc4d1c6acb03adfada4eaf7dd66c4d91c34f6
netfilter: nfnetlink: remove redundant variable nskb

Actually after netlink_skb_clone() is called, the nskb and
skb will point to the same thing, but they are used just like
they are different, sometimes this is confusing, so i think
there is no necessary to keep nskb anymore.

Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Signed-off-by: Pablo Neira Ayuso <pablo@soleta.eu>
net/netfilter/nfnetlink.c
This page took 0.028441 seconds and 5 git commands to generate.