arping: remove superfluous assignment
authorDenis Vlasenko <vda.linux@googlemail.com>
Wed, 16 Apr 2008 15:01:48 +0000 (15:01 -0000)
committerDenis Vlasenko <vda.linux@googlemail.com>
Wed, 16 Apr 2008 15:01:48 +0000 (15:01 -0000)
networking/arping.c

index 39dcb7cc2204f7a6b2fde50611151b37b82ca98a..2b7a43cb63a9df9ecea40e3e4dfbbe8fd1a65139 100644 (file)
@@ -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;