]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove dead store
authorRoy Marples <roy@marples.name>
Fri, 7 Nov 2014 21:08:48 +0000 (21:08 +0000)
committerRoy Marples <roy@marples.name>
Fri, 7 Nov 2014 21:08:48 +0000 (21:08 +0000)
ipv4ll.c

index 17657401d7107d2ace6b374c8aae05013d771dee..7bdd75ff20557dfcc21e53f65426f37bc0acf931 100644 (file)
--- a/ipv4ll.c
+++ b/ipv4ll.c
@@ -87,7 +87,6 @@ ipv4ll_pick_addr(const struct arp_state *astate)
                if (addr == astate->failed.s_addr)
                        continue;
 
-               state = D_CSTATE(astate->iface);
                /* Ensure we don't have the address on another interface */
                TAILQ_FOREACH(ifp, astate->iface->ctx->ifaces, next) {
                        state = D_CSTATE(ifp);