net: cosmetic: Do not use magic values for ARP_HLEN
authoroliver@schinagl.nl <oliver@schinagl.nl>
Fri, 25 Nov 2016 15:30:19 +0000 (16:30 +0100)
committerJoe Hershberger <joe.hershberger@ni.com>
Tue, 7 Feb 2017 16:54:32 +0000 (10:54 -0600)
commita40db6d511712f53b6663e61786a9eb825589984
tree47b00f88557432bd84a33da9adc7069e6366cd13
parent6d2c1d26ee58b46f042b23af62209c2e1860bb24
net: cosmetic: Do not use magic values for ARP_HLEN

Commit 674bb249825a ("net: cosmetic: Replace magic numbers in arp.c with
constants") introduced a nice define to replace the magic value 6 for
the ethernet hardware address. Replace more hardcoded instances of 6
which really reference the ARP_HLEN (iow the MAC/Hardware/Ethernet
address).

Signed-off-by: Olliver Schinagl <oliver@schinagl.nl>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
common/fdt_support.c
include/net.h
net/eth-uclass.c
net/eth_legacy.c