drivers/net: Remove casts of void *
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / drivers / net / bna / cna.h
index bbd39dc659727cceccc2d42455e686c382af9027..3c47dc52b423b6c89610afd4bfcbceb444891a4c 100644 (file)
@@ -74,7 +74,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;                   \
        }                                                               \
 }