From: Joe Perches Date: Wed, 16 Nov 2011 09:38:04 +0000 (+0000) Subject: bna: Convert MAC_ADDRLEN uses to ETH_ALEN X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=288e12717011c3954daf0eb5c31399e020776a19;p=openwrt%2Fstaging%2Fblogic.git bna: Convert MAC_ADDRLEN uses to ETH_ALEN Reduce the number of #defines, use the normal #define from if_ether.h Signed-off-by: Joe Perches Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/brocade/bna/cna.h b/drivers/net/ethernet/brocade/bna/cna.h index 1b3e90dfbd9a..32e8f178ab76 100644 --- a/drivers/net/ethernet/brocade/bna/cna.h +++ b/drivers/net/ethernet/brocade/bna/cna.h @@ -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()