]> git.ipfire.org Git - thirdparty/dhcpcd.git/commitdiff
Remove pointless double assignment
authorRoy Marples <roy@marples.name>
Tue, 26 Mar 2013 15:28:41 +0000 (15:28 +0000)
committerRoy Marples <roy@marples.name>
Tue, 26 Mar 2013 15:28:41 +0000 (15:28 +0000)
dhcp.c

diff --git a/dhcp.c b/dhcp.c
index 59c8f4963403e60ffa5a06371abf8549cf476115..bbcbd45ad275adb1a7a8f5b3ad74bf8c4fcbbe7a 100644 (file)
--- a/dhcp.c
+++ b/dhcp.c
@@ -1937,7 +1937,7 @@ dhcp_inform(struct interface *ifp)
 void
 dhcp_reboot_newopts(struct interface *ifp, int oldopts)
 {
-       struct if_options *ifo = ifp->options;
+       struct if_options *ifo;
        struct dhcp_state *state = D_STATE(ifp);
 
        if (state == NULL)
@@ -1955,7 +1955,7 @@ dhcp_reboot_newopts(struct interface *ifp, int oldopts)
 static void
 dhcp_reboot(struct interface *ifp)
 {
-       struct if_options *ifo = ifp->options;
+       struct if_options *ifo;
        struct dhcp_state *state = D_STATE(ifp);
 
        if (state == NULL)