ipv6: remove unnecessary check in addrconf_prefix_rcv_add_addr()
authorLorenzo Bianconi <lorenzo.bianconi@redhat.com>
Mon, 16 Apr 2018 15:52:59 +0000 (17:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Apr 2018 22:16:16 +0000 (18:16 -0400)
commitf85f94b87164e77e476218b83a5f67875d6b161c
tree2d987d6edaf52db7785d131289e6a06147f78969
parent9a00b697ce31e38c670a3042cf9f1e9cf28dabb5
ipv6: remove unnecessary check in addrconf_prefix_rcv_add_addr()

Remove unnecessary check on update_lft variable in
addrconf_prefix_rcv_add_addr routine since it is always set to 0.
Moreover remove update_lft re-initialization to 0

Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/addrconf.c