]> git.hungrycats.org Git - linux/commitdiff
[IPV6]: One too many ipv6_addr_type() calls in ndisc_recv_ns().
authorHideaki Yoshifuji <yoshfuji@linux-ipv6.org>
Mon, 30 Jun 2003 20:34:18 +0000 (13:34 -0700)
committerDavid S. Miller <davem@nuts.ninka.net>
Mon, 30 Jun 2003 20:34:18 +0000 (13:34 -0700)
net/ipv6/ndisc.c

index 7a411a767d6a5ab2705add162616eef9a2f34e75..b7cca33ff75bd576e2ec25c573fd9e28fa413b1a 100644 (file)
@@ -884,7 +884,6 @@ static void ndisc_recv_ns(struct sk_buff *skb)
                in6_dev_put(idev);
        } else {
                struct inet6_dev *in6_dev = in6_dev_get(dev);
-               int addr_type = ipv6_addr_type(saddr);
 
                if (in6_dev && in6_dev->cnf.forwarding &&
                    (addr_type & IPV6_ADDR_UNICAST) &&