Commit 50413119 authored by HariPrasath Elango's avatar HariPrasath Elango Committed by Greg Kroah-Hartman

staging: wilc1000: Destroy mutex object in deinitialization

Destroy the mutex object that is initialized in wlan_init_locks()
Signed-off-by: default avatarHariPrasath Elango <hariprasath.elango@gmail.com>
Reviewed-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76c01fdd
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment