[PATCH] getting rid of all casts of k[cmz]alloc() calls
[sfrench/cifs-2.6.git] / drivers / net / wireless / hostap / hostap_main.c
index 0796be9d9e77b2644901285a75db9250dc6e732b..04c19cefa1da4dad3f1e4da8d9d241199e622af2 100644 (file)
@@ -250,7 +250,7 @@ u16 hostap_tx_callback_register(local_info_t *local,
        unsigned long flags;
        struct hostap_tx_callback_info *entry;
 
-       entry = (struct hostap_tx_callback_info *) kmalloc(sizeof(*entry),
+       entry = kmalloc(sizeof(*entry),
                                                           GFP_ATOMIC);
        if (entry == NULL)
                return 0;