]> git.proxmox.com Git - mirror_frr.git/commitdiff
isisd: remove unused struct fields
authorRenato Westphal <renato@opensourcerouting.org>
Tue, 6 Aug 2019 20:13:38 +0000 (17:13 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Wed, 21 Aug 2019 03:57:17 +0000 (00:57 -0300)
These fields were introduced by commit e38e0df01ad, but they were
never put to any use. Remove them.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_route.c
isisd/isis_route.h

index 281eaf11bc962c5ff8b72b326cc5ba9e70ec1da3..238555d15488b4100ddc263d3d3b0e26668df32a 100644 (file)
@@ -174,7 +174,6 @@ static void adjinfo2nexthop(struct list *nexthops, struct isis_adjacency *adj)
                                   adj->circuit->interface->ifindex)) {
                        nh = isis_nexthop_create(
                                ipv4_addr, adj->circuit->interface->ifindex);
-                       nh->router_address = adj->router_address;
                        listnode_add(nexthops, nh);
                        return;
                }
@@ -191,7 +190,6 @@ static void adjinfo2nexthop6(struct list *nexthops6, struct isis_adjacency *adj)
                                    adj->circuit->interface->ifindex)) {
                        nh6 = isis_nexthop6_create(
                                ipv6_addr, adj->circuit->interface->ifindex);
-                       nh6->router_address6 = adj->router_address6;
                        listnode_add(nexthops6, nh6);
                        return;
                }
index 9d6858586be5d696be2cc4f045fbbfc0b17a52d9..bb6313ad2dd9198855a93741ef34964ef164af78 100644 (file)
 struct isis_nexthop6 {
        ifindex_t ifindex;
        struct in6_addr ip6;
-       struct in6_addr router_address6;
        unsigned int lock;
 };
 
 struct isis_nexthop {
        ifindex_t ifindex;
        struct in_addr ip;
-       struct in_addr router_address;
        unsigned int lock;
 };