Commit 84874607 authored by Wang Chen's avatar Wang Chen Committed by David S. Miller

netlink: Unneeded local variable

We already have a variable, which has the same capability.
Signed-off-by: default avatarWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4aebb83
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment