staging: wilc1000: remove unnecessary void pointer cast
[deliverable/linux.git] / drivers / staging / wilc1000 / linux_wlan.c
index 7eacc2f326df8616f504459bdea9b8950f6313c2..ed71a9d017b846e351f36fbe5b28c54c3766ff21 100644 (file)
@@ -2465,7 +2465,7 @@ int wilc_netdev_init(void)
        linux_wlan_init_lock("close_exit_sync", &close_exit_sync, 0);
 
        /*create the common structure*/
-       g_linux_wlan = (linux_wlan_t *)WILC_MALLOC(sizeof(linux_wlan_t));
+       g_linux_wlan = WILC_MALLOC(sizeof(linux_wlan_t));
        memset(g_linux_wlan, 0, sizeof(linux_wlan_t));
 
        /*Reset interrupt count debug*/
This page took 0.045307 seconds and 5 git commands to generate.