diff options
author | Joe Perches <joe@perches.com> | 2011-11-16 13:38:04 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-11-17 05:23:18 +0400 |
commit | 288e12717011c3954daf0eb5c31399e020776a19 (patch) | |
tree | 9bc785a162449bb1262555ac9da7b1b72afb187e /drivers/net/ethernet/brocade | |
parent | 104bf3fb963cbc39c6675b23d46d2c9ab3f311d8 (diff) | |
download | linux-288e12717011c3954daf0eb5c31399e020776a19.tar.xz |
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 <joe@perches.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade')
-rw-r--r-- | drivers/net/ethernet/brocade/bna/cna.h | 3 |
1 files changed, 1 insertions, 2 deletions
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() |