summaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/brocade/bna/cna.h
diff options
context:
space:
mode:
authorIvan Vecera <ivecera@redhat.com>2015-06-11 16:52:14 +0300
committerDavid S. Miller <davem@davemloft.net>2015-06-12 01:57:14 +0300
commitd6b30598509c9f6b87d3c7f217105cd3ad53887a (patch)
tree0ccae31ab409c3e6a9219fd0de8a458c6951e2b7 /drivers/net/ethernet/brocade/bna/cna.h
parente2f9ecfcc64c9a7bcb253b57c8bc2e5c87791caa (diff)
downloadlinux-d6b30598509c9f6b87d3c7f217105cd3ad53887a.tar.xz
bna: get rid of mac_t
The patch converts mac_t type to widely used 'u8 [ETH_ALEN]'. Signed-off-by: Ivan Vecera <ivecera@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/brocade/bna/cna.h')
-rw-r--r--drivers/net/ethernet/brocade/bna/cna.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/ethernet/brocade/bna/cna.h b/drivers/net/ethernet/brocade/bna/cna.h
index 28e7d0ffeab1..b42aafddae99 100644
--- a/drivers/net/ethernet/brocade/bna/cna.h
+++ b/drivers/net/ethernet/brocade/bna/cna.h
@@ -42,12 +42,6 @@ extern char bfa_version[];
#define CNA_FW_FILE_CT2 "ct2fw-3.2.5.1.bin"
#define FC_SYMNAME_MAX 256 /*!< max name server symbolic name size */
-#pragma pack(1)
-
-typedef struct mac { u8 mac[ETH_ALEN]; } mac_t;
-
-#pragma pack()
-
#define bfa_q_first(_q) ((void *)(((struct list_head *) (_q))->next))
#define bfa_q_next(_qe) (((struct list_head *) (_qe))->next)
#define bfa_q_prev(_qe) (((struct list_head *) (_qe))->prev)