diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-30 05:30:49 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-11-30 05:30:49 +0000 |
commit | 4aa59b1adc6b4ae0dca10d7d66830d84fc085993 (patch) | |
tree | 732aedeef1d13a3a65db5713a5d12be75ab398b8 /cpukit/libnetworking/rtems/rtems_dhcp.c | |
parent | 2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-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 '')
-rw-r--r-- | cpukit/libnetworking/rtems/rtems_dhcp.c | 3 |
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. |