summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/libnetworking')
-rw-r--r--cpukit/libnetworking/rtems/rtems_dhcp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/cpukit/libnetworking/rtems/rtems_dhcp.c b/cpukit/libnetworking/rtems/rtems_dhcp.c
index a5b4d667a8..0ee250b603 100644
--- a/cpukit/libnetworking/rtems/rtems_dhcp.c
+++ b/cpukit/libnetworking/rtems/rtems_dhcp.c
@@ -851,7 +851,6 @@ dhcp_init (int update_files)
struct ifreq ireq;
struct ifnet *ifp;
struct socket *so;
- int len;
int error;
struct sockaddr_in myaddr;
struct ifaddr *ifa;
@@ -914,7 +913,7 @@ dhcp_init (int update_files)
/*
* Build the DHCP Discover
*/
- len = dhcp_discover_req (&call, sdl, &xid);
+ dhcp_discover_req (&call, sdl, &xid);
/*
* Send the Discover.