gdhcp: Remove assignment that's never used
authorHenrique Dante de Almeida <hdante@profusion.mobi>
Tue, 8 May 2012 19:20:49 +0000 (16:20 -0300)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 9 May 2012 14:14:37 +0000 (17:14 +0300)
gdhcp/client.c

index b9f8da6..b61d5a4 100644 (file)
@@ -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;