提交 84874607 编写于 作者: W Wang Chen 提交者: David S. Miller

netlink: Unneeded local variable

We already have a variable, which has the same capability.
Signed-off-by: NWang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 a4aebb83
......@@ -886,7 +886,7 @@ int netlink_unicast(struct sock *ssk, struct sk_buff *skb,
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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册