staging: wilc1000: Destroy mutex object in deinitialization
Destroy the mutex object that is initialized in wlan_init_locks() Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com> Reviewed-by: Ajay Singh <ajay.kathat@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
76c01fdd82
commit
50413119b6
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue