Received: by 10.213.65.68 with SMTP id h4csp48562imn; Mon, 12 Mar 2018 06:21:48 -0700 (PDT) X-Google-Smtp-Source: AG47ELtnWQRoA1diNKwIhkNpXSdvEA+sSRwY+frs5DBqZnyXiJvslkfLVT/Ws9iRekqnVjAW0gXY X-Received: by 10.99.112.20 with SMTP id l20mr6775954pgc.412.1520860908402; Mon, 12 Mar 2018 06:21:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1520860908; cv=none; d=google.com; s=arc-20160816; b=utyvoubG4cdca1EjxpSHXuB80eKQut7rk62AnUDwnNiZGHUdDbptNrryyOqimmGoWM UHGk9Z85ziXPkaK+X6fSWP7EuqO6PJuSCbWT48FUUhAg8cvky9TeZilSlw2rYsOGfaFz egzQoqWADSdK1tlI/mF6DK0D3I1ksHWX/BNSV6RcnR28nhvof1WHOO6DBAx5T3nOvYb5 rkLh6xV8YK8UFHag3QFIqagiE+RUku7EhG81xkb1/FSzvgN0GCcx3kfyhHhRGO0sI6ZP iqeLjWs5KFcS1YbOEHk/HY4VPFBklwUiOsPW0AbAFiVqhp4QWaa38e2zuhGtQMKkzm2n MS7A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=tqWAmX1NQQWnvFD7aX3tnoIZ1ALHXfPQW23KqpAd4t4=; b=pH1JjNcvVXyt5Glo4QMSvj8Eku6vWdp+tiv6kkMgIihwf3qkIUovUlawEkjzp5Bbvq 65xXwNLCmzhkYoKkYp9/DlZ/7Y8M6FbbpkB5Kf2MSu70JJGS+v1f0jk9Dp7F53cnONgT 6CRtGIlo1aFRnEiq2AO1c93uPAreUoagNOomd+diFox5SXr738d+r9V293DfcurleOvF rD/m50c6GNgSjJegkHLFjbKSNDWxoIsw7TcvMKtXX7ZZdm1BP1ggKNjGvtyTyJg5kR5A Sw6iT8pGyvMdNRXBtGhyfbKl/YxLducdzduOczV14xLAlaZPwY0LFgvVS+VHlX0/I6KO MIbA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LKF7NGYK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f9-v6si1850725plt.502.2018.03.12.06.21.33; Mon, 12 Mar 2018 06:21:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=LKF7NGYK; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751509AbeCLNUT (ORCPT + 99 others); Mon, 12 Mar 2018 09:20:19 -0400 Received: from mail-pf0-f193.google.com ([209.85.192.193]:42989 "EHLO mail-pf0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751180AbeCLNUQ (ORCPT ); Mon, 12 Mar 2018 09:20:16 -0400 Received: by mail-pf0-f193.google.com with SMTP id a16so4309035pfn.9; Mon, 12 Mar 2018 06:20:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=tqWAmX1NQQWnvFD7aX3tnoIZ1ALHXfPQW23KqpAd4t4=; b=LKF7NGYK4FHEch8qdL/JmfyoQLkzzWgQWtrGCGAN5+LEEjkkB2OpUqeOoU0LXjaClM 0kp8PKi7bmQWQ44h0ENJR9zKZAtNNkpNQo31r0ZZMhON/YuwIQ8Imt3v6kx7Jq6Q15Wp oUJ8dbQkeO50bJRairdyIaSRR/u1nn/LomBCRxrKUtYnN4AcfMbM1xEZUpSSseDBxTuL ++3cHOOC58QmOlo9R/eVL7F3EShxQ1V7TKQx6WGfVAmnoBDeipQ5W9JkV92KFe9K1L1W OgcTuHP0ljj9CtSNyH5ks2kmF/M8kN5gBG7/VQXMKSjNgKh1DJmo/MaAF5EwDEVcB13m iuFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=tqWAmX1NQQWnvFD7aX3tnoIZ1ALHXfPQW23KqpAd4t4=; b=aozxKSN9ICuPAvrorbKETiCSVVYJBpIYz/nUl1VwWvNhjfaR8G+a4Q5MHjFP0Baw9D TS30gUDiQ82vF8b62xt6zNOweCiId7TZr/Kq8AEt5bCdLM6J9pjTOuLv4npoIJSMYK/m X9H9OOwY6fUTO5sPmHIfdtFf7rreBDOVf2d/1XserHEo6Ph76O8YpECE4GLtmJ7hM215 Ttwvn444WOCNiUaeuJamlQIqWHtaIoPKKgnzGE2aPlAdIQ8mmczLjmapip+6yzoHsjXO A27v2JtGeLu0v/3qkV82e29shHsj7XZeMgo1d13VDohmpzh5wDt9uoJCL1z0FkC9jrD+ Cu9w== X-Gm-Message-State: AElRT7HMQZ6nyLoGtfpCApgAn2fHqJTIJo+rw+V5nNLt4owFT2BfzG6I kmVydonXG0wExpSK4DmGm8c= X-Received: by 10.99.190.15 with SMTP id l15mr6783703pgf.325.1520860816276; Mon, 12 Mar 2018 06:20:16 -0700 (PDT) Received: from localhost.localdomain ([2405:204:714d:efc4:a583:666e:901d:538]) by smtp.gmail.com with ESMTPSA id x1sm17667962pfk.144.2018.03.12.06.20.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Mar 2018 06:20:15 -0700 (PDT) From: hariprasath.elango@gmail.com To: aditya.shankar@microchip.com Cc: hariprasath.elango@gmail.com, vbabu3@visteon.com, Ganesh Krishna , Greg Kroah-Hartman , linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: wilc1000: Destroy mutex object in deinitialization Date: Mon, 12 Mar 2018 18:49:49 +0530 Message-Id: <20180312131950.12854-1-hariprasath.elango@gmail.com> X-Mailer: git-send-email 2.10.0.GIT Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: HariPrasath Elango Destroy the mutex object that is initialized in wlan_init_locks() Signed-off-by: HariPrasath Elango --- drivers/staging/wilc1000/linux_wlan.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/staging/wilc1000/linux_wlan.c b/drivers/staging/wilc1000/linux_wlan.c index 1af3c14..38a83bd 100644 --- a/drivers/staging/wilc1000/linux_wlan.c +++ b/drivers/staging/wilc1000/linux_wlan.c @@ -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; } -- 2.10.0.GIT