From: Roy Marples Date: Fri, 13 Mar 2015 22:31:53 +0000 (+0000) Subject: Remove some dead code. X-Git-Tag: v6.8.0~25 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1eaf441db8d6deb580c53b7345d7618ca6685dc6;p=thirdparty%2Fdhcpcd.git Remove some dead code. --- diff --git a/dhcp6.c b/dhcp6.c index 8241a8d3..d3fe602c 100644 --- 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)