diff options
Diffstat (limited to 'drivers/net/bna/cna.h')
-rw-r--r-- | drivers/net/bna/cna.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/net/bna/cna.h b/drivers/net/bna/cna.h index bbd39dc6597..a679e038747 100644 --- a/drivers/net/bna/cna.h +++ b/drivers/net/bna/cna.h @@ -19,7 +19,6 @@ #ifndef __CNA_H__ #define __CNA_H__ -#include <linux/version.h> #include <linux/kernel.h> #include <linux/types.h> #include <linux/pci.h> @@ -34,7 +33,7 @@ #include <linux/list.h> -#define bfa_sm_fault(__mod, __event) do { \ +#define bfa_sm_fault(__event) do { \ pr_err("SM Assertion failure: %s: %d: event = %d", __FILE__, __LINE__, \ __event); \ } while (0) @@ -74,7 +73,7 @@ typedef struct mac { u8 mac[MAC_ADDRLEN]; } mac_t; bfa_q_next(_q) = bfa_q_next(*((struct list_head **) _qe)); \ bfa_q_qe_init(*((struct list_head **) _qe)); \ } else { \ - *((struct list_head **) (_qe)) = (struct list_head *) NULL; \ + *((struct list_head **)(_qe)) = NULL; \ } \ } |