提交 288e1271 编写于 作者: J Joe Perches 提交者: David S. Miller

bna: Convert MAC_ADDRLEN uses to ETH_ALEN

Reduce the number of #defines, use the normal #define from if_ether.h
Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 104bf3fb
......@@ -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()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册