return -1;
 }
 
-static int wlan_deinit_locks(struct net_device *dev)
+static void wlan_deinit_locks(struct net_device *dev)
 {
        struct wilc_vif *vif = netdev_priv(dev);
        struct wilc *wilc = vif->wilc;
        mutex_destroy(&wilc->hif_cs);
        mutex_destroy(&wilc->rxq_cs);
        mutex_destroy(&wilc->txq_add_to_head_cs);
-
-       return 0;
 }
 
 static void wlan_deinitialize_threads(struct net_device *dev)
        }
 }
 
-static int wlan_init_locks(struct net_device *dev)
+static void wlan_init_locks(struct net_device *dev)
 {
        struct wilc_vif *vif = netdev_priv(dev);
        struct wilc *wl = vif->wilc;
        init_completion(&wl->cfg_event);
        init_completion(&wl->sync_event);
        init_completion(&wl->txq_thread_started);
-
-       return 0;
 }
 
 static int wlan_initialize_threads(struct net_device *dev)