projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
104bf3f
)
bna: Convert MAC_ADDRLEN uses to ETH_ALEN
author
Joe Perches
<joe@perches.com>
Wed, 16 Nov 2011 09:38:04 +0000
(09:38 +0000)
committer
David 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
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/brocade/bna/cna.h
b/drivers/net/ethernet/brocade/bna/cna.h
index 1b3e90dfbd9a40d4cb9c0614411e83f1605b2d7b..32e8f178ab76a964af67dcce189e8ec84195ab42 100644
(file)
--- 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()