From 824f8f52a1e44f6d281d3f89f23b3e85824a34fb Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Wed, 21 May 2025 16:51:22 -0600 Subject: global: Cleanup usage of "ETH_ALEN" The value of "ETH_ALEN" is defined to 6 in . This file is included in . In the places where we had ETH_ALEN but no direct include of , add . In the places where we had a custom name used, make use of ETH_ALEN instead. Signed-off-by: Tom Rini --- drivers/net/mscc_eswitch/luton_switch.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/net/mscc_eswitch/luton_switch.c') diff --git a/drivers/net/mscc_eswitch/luton_switch.c b/drivers/net/mscc_eswitch/luton_switch.c index 1c584373b8b..be78afc3f79 100644 --- a/drivers/net/mscc_eswitch/luton_switch.c +++ b/drivers/net/mscc_eswitch/luton_switch.c @@ -132,7 +132,6 @@ #define CPU_PORT 26 #define INTERNAL_PORT_MSK 0xFFFFFF #define IFH_LEN 2 -#define ETH_ALEN 6 #define PGID_BROADCAST 28 #define PGID_UNICAST 29 #define PGID_SRC 80 -- cgit v1.2.3