summaryrefslogtreecommitdiff
path: root/gdhcp
diff options
context:
space:
mode:
authorHenrique Dante de Almeida <hdante@profusion.mobi>2012-05-08 16:20:49 -0300
committerPatrik Flykt <patrik.flykt@linux.intel.com>2012-05-09 17:14:37 +0300
commitaa0ea3a515f71575869f115883ae9e3031775173 (patch)
treec4fe5733d90058dfd28e505c15ceb4390e779545 /gdhcp
parent92de4e93503fdbae2185ba3cd9fbf10f5a83efab (diff)
downloadconnman-aa0ea3a515f71575869f115883ae9e3031775173.tar.gz
connman-aa0ea3a515f71575869f115883ae9e3031775173.tar.bz2
connman-aa0ea3a515f71575869f115883ae9e3031775173.zip
gdhcp: Remove assignment that's never used
Diffstat (limited to 'gdhcp')
-rw-r--r--gdhcp/client.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gdhcp/client.c b/gdhcp/client.c
index b9f8da61..b61d5a4d 100644
--- a/gdhcp/client.c
+++ b/gdhcp/client.c
@@ -1126,7 +1126,6 @@ static int ipv4ll_recv_arp_packet(GDHCPClient *dhcp_client)
int target_conflict;
memset(&arp, 0, sizeof(arp));
- bytes = 0;
bytes = read(dhcp_client->listener_sockfd, &arp, sizeof(arp));
if (bytes < 0)
return bytes;