projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b7fdd2
)
ipv6: Remove redundant sk variable
author
Thomas Graf
<tgraf@suug.ch>
Wed, 28 Aug 2013 10:05:38 +0000
(12:05 +0200)
committer
David S. Miller
<davem@davemloft.net>
Fri, 30 Aug 2013 21:18:59 +0000
(17:18 -0400)
A sk variable initialized to ndisc_sk is already available outside
of the branch.
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ndisc.c
b/net/ipv6/ndisc.c
index 41720feeaa6473625c74b9f39d9a91fe90dde6c0..bb6fd95a5cd164c1ea0cf3b503222b913fe80cdb 100644
(file)
--- a/
net/ipv6/ndisc.c
+++ b/
net/ipv6/ndisc.c
@@
-428,7
+428,6
@@
static void ndisc_send_skb(struct sk_buff *skb,
type = icmp6h->icmp6_type;
if (!dst) {
- struct sock *sk = net->ipv6.ndisc_sk;
struct flowi6 fl6;
icmpv6_flow_init(sk, &fl6, type, saddr, daddr, skb->dev->ifindex);