diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-07-31 02:55:22 -0700 |
---|---|---|
committer | Joe Hershberger <joe.hershberger@ni.com> | 2018-10-10 12:28:52 -0500 |
commit | dda5251037008b3563ab0aaf443eb7be3213887c (patch) | |
tree | 2fbeb36907a2a50866cf0d1669c163f3aa88c5e0 /drivers/net/ns8382x.c | |
parent | 2240d763e54028bfdd52e06b2b0cdba07e43f84f (diff) |
net.h: Include linux/if_ether.h to avoid duplication
There are plenty of existing drivers that have macros like ETH_ALEN
defined in their own source files. Now that we imported the kernel's
if_ether.h to U-Boot we can reduce some duplication.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
Diffstat (limited to 'drivers/net/ns8382x.c')
-rw-r--r-- | drivers/net/ns8382x.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ns8382x.c b/drivers/net/ns8382x.c index f941c15b27..ea7ece54b6 100644 --- a/drivers/net/ns8382x.c +++ b/drivers/net/ns8382x.c @@ -59,7 +59,6 @@ /* defines */ #define DSIZE 0x00000FFF -#define ETH_ALEN 6 #define CRC_SIZE 4 #define TOUT_LOOP 500000 #define TX_BUF_SIZE 1536 |