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

staging: wilc1000: destroy initialized mutex object

A mutex object that is initialized but not destroyed.This patch destroys
the mutex object
Signed-off-by: default avatarHariPrasath Elango <hariprasath.elango@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 3ea60ab5
...@@ -2310,6 +2310,7 @@ int wilc_deinit_host_int(struct net_device *net) ...@@ -2310,6 +2310,7 @@ int wilc_deinit_host_int(struct net_device *net)
op_ifcs--; op_ifcs--;
mutex_destroy(&priv->scan_req_lock);
ret = wilc_deinit(vif); ret = wilc_deinit(vif);
clear_shadow_scan(); clear_shadow_scan();
......
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