2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>

* libnetworking/rtems/rtems_dhcp.c (dhcp_init):
	Remove unused var "len".
This commit is contained in:
Ralf Corsepius
2011-11-30 05:30:49 +00:00
parent 6611a434e2
commit 4aa59b1adc
2 changed files with 3 additions and 2 deletions

View File

@@ -1,5 +1,7 @@
2011-11-30 Ralf Corsépius <ralf.corsepius@rtems.org>
* libnetworking/rtems/rtems_dhcp.c (dhcp_init):
Remove unused var "len".
* score/src/objectinitializeinformation.c
(_Objects_Initialize_information): Remove unused var "name_length".

View File

@@ -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.