changeset 1880:95b7a8c49de8 draft

Remove pointless double assignment
author Roy Marples <roy@marples.name>
date Tue, 26 Mar 2013 15:28:41 +0000
parents c72449fd9540
children eebd5409be02
files dhcp.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/dhcp.c	Tue Mar 26 11:40:44 2013 +0000
+++ b/dhcp.c	Tue Mar 26 15:28:41 2013 +0000
@@ -1937,7 +1937,7 @@
 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 @@
 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)