]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove some dead code.
authorRoy Marples <roy@marples.name>
Fri, 13 Mar 2015 22:31:53 +0000 (22:31 +0000)
committerRoy Marples <roy@marples.name>
Fri, 13 Mar 2015 22:31:53 +0000 (22:31 +0000)
dhcp6.c

diff --git a/dhcp6.c b/dhcp6.c
index 8241a8d31c65fbe439947ae709486074e588b23a..d3fe602ca36b0e0034b2f2b45a076c559bcee171 100644 (file)
--- a/dhcp6.c
+++ b/dhcp6.c
@@ -414,9 +414,6 @@ dhcp6_delegateaddr(struct in6_addr *addr, struct interface *ifp,
                asla.sla = ifp->index;
                asla.prefix_len = 0;
                sla = &asla;
-
-               if (ia->sla_max == 0) {
-               }
        } else if (sla->prefix_len == 0) {
                asla.sla = sla->sla;
                if (asla.sla == 0)