projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4aebb8
)
netlink: Unneeded local variable
author
Wang Chen
<wangchen@cn.fujitsu.com>
Wed, 2 Jul 2008 02:55:09 +0000
(19:55 -0700)
committer
David S. Miller
<davem@davemloft.net>
Wed, 2 Jul 2008 02:55:09 +0000
(19:55 -0700)
We already have a variable, which has the same capability.
Signed-off-by: Wang Chen <wangchen@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netlink/af_netlink.c
patch
|
blob
|
blame
|
history
diff --git
a/net/netlink/af_netlink.c
b/net/netlink/af_netlink.c
index 9b97f8006c9c6edfd0dea0dde522b6a7e64c171f..349aba189558669c9ddd8ac82ad585d1fb23d557 100644
(file)
--- 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;