bna: Convert MAC_ADDRLEN uses to ETH_ALEN
authorJoe Perches <joe@perches.com>
Wed, 16 Nov 2011 09:38:04 +0000 (09:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Nov 2011 01:23:18 +0000 (20:23 -0500)
Reduce the number of #defines, use the normal #define from if_ether.h

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/brocade/bna/cna.h

index 1b3e90dfbd9a40d4cb9c0614411e83f1605b2d7b..32e8f178ab76a964af67dcce189e8ec84195ab42 100644 (file)
@@ -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()