netlink: Unneeded local variable
Subsystems (2)
PATCH 1/1 netlink: Unneeded local variable
We already have a variable, which has the same capability.
Signed-off-by Wang Chen <[email protected]>
---
net/netlink/af_netlink.c +1 -1
@@ -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;
From: Wang Chen <[email protected]>
Date: Tue, 01 Jul 2008 17:24:05 +0800
Quoted 3 lines
We already have a variable, which has the same capability.
Signed-off-by Wang Chen <[email protected]>
Applied to net-2.6, thanks!