Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 288e1271 authored by Joe Perches's avatar Joe Perches Committed by David S. Miller
Browse files

bna: Convert MAC_ADDRLEN uses to ETH_ALEN



Reduce the number of #defines, use the normal #define from if_ether.h

Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 104bf3fb
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -43,8 +43,7 @@ extern char bfa_version[];

#pragma pack(1)

#define MAC_ADDRLEN	(6)
typedef struct mac { u8 mac[MAC_ADDRLEN]; } mac_t;
typedef struct mac { u8 mac[ETH_ALEN]; } mac_t;

#pragma pack()