From: Wang Chen Date: Wed, 2 Jul 2008 02:55:09 +0000 (-0700) Subject: netlink: Unneeded local variable X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=8487460720fd03a0f4ecd032f017b0a8468028da;p=openwrt%2Fstaging%2Fblogic.git 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 9b97f8006c9c..349aba189558 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;