Skip to contentSkip to conversation

staging: wilc1000: Destroy mutex object in deinitialization

PATCH In review [email protected] 2 participants 2 messages Mar 12, 2018 – Mar 13, 2018 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: wilc1000: Destroy mutex object in deinitialization

From: HariPrasath Elango <[email protected]>

Destroy the mutex object that is initialized in wlan_init_locks()

---
 drivers/staging/wilc1000/linux_wlan.c | 1 +
 1 file changed, 1 insertion(+)
drivers/staging/wilc1000/linux_wlan.c +1 -0
index 1af3c14..38a83bd 100644
@@ -678,6 +678,7 @@ static int wlan_deinit_locks(struct net_device *dev)
 
 	mutex_destroy(&wilc->hif_cs);
 	mutex_destroy(&wilc->rxq_cs);
+	mutex_destroy(&wilc->txq_add_to_head_cs);
 
 	return 0;
 }
Signature · 6 lines
2.10.0.GIT

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel
Reviewed-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Mon, 12 Mar 2018 18:49:49 +0530 <[email protected]> wrote:

From: HariPrasath Elango <[email protected]>

Destroy the mutex object that is initialized in wlan_init_locks()

Regards,
Ajay
_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel