From: Denis Vlasenko Date: Wed, 16 Apr 2008 15:01:48 +0000 (-0000) Subject: arping: remove superfluous assignment X-Git-Tag: 1_11_0~334 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=aca10f852ae760a3f2e2b9ed08bd13f9d5b85443;p=oweals%2Fbusybox.git arping: remove superfluous assignment --- diff --git a/networking/arping.c b/networking/arping.c index 39dcb7cc2..2b7a43cb6 100644 --- a/networking/arping.c +++ b/networking/arping.c @@ -75,7 +75,6 @@ static int send_pack(struct in_addr *src_addr, struct arphdr *ah = (struct arphdr *) buf; unsigned char *p = (unsigned char *) (ah + 1); - ah->ar_hrd = htons(ME->sll_hatype); ah->ar_hrd = htons(ARPHRD_ETHER); ah->ar_pro = htons(ETH_P_IP); ah->ar_hln = ME->sll_halen;