ipv6: ndisc: remove redundant check for !dev->addr_len
authorThomas Graf <tgraf@suug.ch>
Fri, 8 Mar 2013 01:03:46 +0000 (01:03 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Mar 2013 17:29:22 +0000 (12:29 -0500)
commit80580d4b20e13383009b4fb2043235a7d0a42589
tree57125914863d1b3bcfe4d9f9180e8cde50341990
parent0bcf6aa72b986f9e74d5e6bd717dbf8aef3ea533
ipv6: ndisc: remove redundant check for !dev->addr_len

send_sllao is already initialized with the value of dev->addr_len

Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Signed-off-by: Thomas Graf <tgraf@suug.ch>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c