summaryrefslogtreecommitdiff
path: root/drivers/net/eepro100.c
diff options
context:
space:
mode:
authorBin Meng <bmeng.cn@gmail.com>2018-07-31 02:55:22 -0700
committerJoe Hershberger <joe.hershberger@ni.com>2018-10-10 12:28:52 -0500
commitdda5251037008b3563ab0aaf443eb7be3213887c (patch)
tree2fbeb36907a2a50866cf0d1669c163f3aa88c5e0 /drivers/net/eepro100.c
parent2240d763e54028bfdd52e06b2b0cdba07e43f84f (diff)
downloadu-boot-dda5251037008b3563ab0aaf443eb7be3213887c.tar.gz
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/eepro100.c')
-rw-r--r--drivers/net/eepro100.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/eepro100.c b/drivers/net/eepro100.c
index ae65b649bf..2fe0ba6e20 100644
--- a/drivers/net/eepro100.c
+++ b/drivers/net/eepro100.c
@@ -193,8 +193,6 @@ struct descriptor { /* A generic descriptor. */
#define TOUT_LOOP 1000000
-#define ETH_ALEN 6
-
static struct RxFD rx_ring[NUM_RX_DESC]; /* RX descriptor ring */
static struct TxFD tx_ring[NUM_TX_DESC]; /* TX descriptor ring */
static int rx_next; /* RX descriptor ring pointer */