mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-07 21:24:00 +08:00
staging: wilc1000: destroy initialized mutex object
A mutex object that is initialized but not destroyed.This patch destroys the mutex object Signed-off-by: HariPrasath Elango <hariprasath.elango@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
3ea60ab5fa
commit
2ebd9ec4ac
@ -2310,6 +2310,7 @@ int wilc_deinit_host_int(struct net_device *net)
|
||||
|
||||
op_ifcs--;
|
||||
|
||||
mutex_destroy(&priv->scan_req_lock);
|
||||
ret = wilc_deinit(vif);
|
||||
|
||||
clear_shadow_scan();
|
||||
|
Loading…
Reference in New Issue
Block a user