[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <f572d7ea81f4d3bfd7fded0e1e3d3023c3dd9319.1521030891.git.hariprasath.elango@gmail.com>
Date: Wed, 14 Mar 2018 18:15:02 +0530
From: hariprasath.elango@...il.com
To: aditya.shankar@...rochip.com, gregkh@...uxfoundation.org,
ganesh.krishna@...rochip.com
Cc: hariprasath.elango@...il.com, linux-wireless@...r.kernel.org,
devel@...verdev.osuosl.org, linux-kernel@...r.kernel.org
Subject: [PATCH 4/7] staging: wilc1000: destroy initialized mutex object
From: HariPrasath Elango <hariprasath.elango@...il.com>
A mutex object that is initialized but not destroyed.This patch destroys
the mutex object
Signed-off-by: HariPrasath Elango <hariprasath.elango@...il.com>
---
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
index 205304c..c901108 100644
--- a/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
+++ b/drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
@@ -2303,6 +2303,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();
--
2.10.0.GIT
Powered by blists - more mailing lists