summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorWang Chen <wangchen@cn.fujitsu.com>2008-07-01 19:55:09 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-01 19:55:09 -0700
commit8487460720fd03a0f4ecd032f017b0a8468028da (patch)
treef546d710946a25505db23486632b974850fabfa6 /net
parenta4aebb83cf0da0363684f1c339f7e6149a3e74c1 (diff)
downloadkernel-crypto-8487460720fd03a0f4ecd032f017b0a8468028da.tar.gz
kernel-crypto-8487460720fd03a0f4ecd032f017b0a8468028da.tar.xz
kernel-crypto-8487460720fd03a0f4ecd032f017b0a8468028da.zip
netlink: Unneeded local variable
We already have a variable, which has the same capability. Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
-rw-r--r--net/netlink/af_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index 9b97f8006c9..349aba18955 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -886,7 +886,7 @@ retry:
return netlink_unicast_kernel(sk, skb);
if (sk_filter(sk, skb)) {
- int err = skb->len;
+ err = skb->len;
kfree_skb(skb);
sock_put(sk);
return err;