From: Wang Chen Date: Wed, 2 Jul 2008 02:55:09 +0000 (-0700) Subject: netlink: Unneeded local variable X-Git-Tag: v2.6.26-rc9~84^2~3 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8487460720fd03a0f4ecd032f017b0a8468028da;p=linux-2.6 netlink: Unneeded local variable We already have a variable, which has the same capability. Signed-off-by: Wang Chen Signed-off-by: David S. Miller --- diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c index 9b97f8006c..349aba1895 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;