summaryrefslogtreecommitdiffstats
path: root/cpukit/libnetworking
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-11-30 05:30:49 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-11-30 05:30:49 +0000
commit4aa59b1adc6b4ae0dca10d7d66830d84fc085993 (patch)
tree732aedeef1d13a3a65db5713a5d12be75ab398b8 /cpukit/libnetworking
parent2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff)
downloadrtems-4aa59b1adc6b4ae0dca10d7d66830d84fc085993.tar.bz2
2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c (dhcp_init): Remove unused var "len".
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.