Received: by 10.213.65.68 with SMTP id h4csp964570imn; Wed, 14 Mar 2018 05:47:17 -0700 (PDT) X-Google-Smtp-Source: AG47ELvNQWV87vGRORL0qY1+hzKUjV8wkmmwA7ShCyXybmahQgc9wuAEe0my+inhnS5Cmz9/mCvB X-Received: by 10.99.144.199 with SMTP id a190mr3541829pge.359.1521031637454; Wed, 14 Mar 2018 05:47:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521031637; cv=none; d=google.com; s=arc-20160816; b=vcrdtLGFBGN202a6JUYhjk31kT9/w0hQIdFsLEQI0TH+9lN3Kj0YQRXIAilkn7Hngx o/1ssAkZvG/PL9WijjPMSNnML/Ai6UC6yfdIUjBQ1D7kKzTaiHBMxjmkHhYcysOcv1yX ptVCUBGmF8E2BN8ykxHmgjLFwCuU+LsKG6zl/HVFpBoGopGVzKXqAapH7hiYzcENRYZA CKRF197vBxH1UMabOkZS6LxekKEXgG7xAjxLWiCBX4kVrvTAzo6LzrYO4hLoMnzZVDai 2iG3hitK8D7jCT7EEbkOT7yXA/9PUeETW61y0E9Wu6QOOYNJEBNlzbNidsW53ZkuPl2g 8ZYw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:references :in-reply-to:message-id:date:subject:cc:to:from:dkim-signature :arc-authentication-results; bh=42PY5/BjpYFDa9QG5MWQnWusZo5TnNrveZPS0fqCtN0=; b=soKd4HYGpOxQY+0kh4HFS/ugb6QIVw4yYtxbyDK86t5eErNStRVwqgrEaX+xpXqyrM VaR3drPNXp/YlapSn6gcbYuYSvMTnnu0/D7PwqUWi3NCcce59Bo+x7U00FIxvbuaD/Tk v2ljVuDKVkwen1zC1WjE1mbsyHN02vCSPkTWWY+M1xpUHXHkpGFeu4XQGit7myoT1pfS O9ulWq/tbPQUMPP55MhLHHM+hFb7k7rFJn9eCsQomHA3mS0m7DVOXoNSxWPoi2mswUqf sjOYcTBtOcF4BSfSqle1ec5OSW3SM8bemkgkyFtxX1FPuTwtroJbSnkd7owKpzRIFYiU LTgA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VaGDQGML; 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 w188si586262pgb.739.2018.03.14.05.46.54; Wed, 14 Mar 2018 05:47:17 -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=VaGDQGML; 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 S1752041AbeCNMpa (ORCPT + 99 others); Wed, 14 Mar 2018 08:45:30 -0400 Received: from mail-pf0-f194.google.com ([209.85.192.194]:37965 "EHLO mail-pf0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751480AbeCNMp1 (ORCPT ); Wed, 14 Mar 2018 08:45:27 -0400 Received: by mail-pf0-f194.google.com with SMTP id d26so1329142pfn.5; Wed, 14 Mar 2018 05:45:27 -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:in-reply-to:references :in-reply-to:references; bh=42PY5/BjpYFDa9QG5MWQnWusZo5TnNrveZPS0fqCtN0=; b=VaGDQGMLGFQmlLQvIJcitQCENiotu5E5i/OBU34cCwSmqlpnysFyDjVEd1W9GYSSyW M9shSS4HhGN22Dr0FL33xFcE1c7cHfu9gaA4SebmyFbOmnFJaLcrbVJHeIVlS9Cy75WC hlRgTZedhwE6aTawJuCGw2VAZMRtSiXxW8VL6X09i3DCP7VCDjba48GixoYVKfoziAMK USNSCe788HqVAkeWRWfGJoPW87EodYuaOw3Fn/E0avNkAmT3H8ixuHzcFvlYgb9Xpsrm XMpjElcjGfXBO/DE1GKyhRGWH/u61l80DlAD8UPlMi+BNuwxVEjsmQZ6tn2Pl9C+l/1M vcDA== 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:in-reply-to :references:in-reply-to:references; bh=42PY5/BjpYFDa9QG5MWQnWusZo5TnNrveZPS0fqCtN0=; b=HiWx4ZIVnKz2l0Hww9bDoj5UBuLeglxmIhSxa9490jFxQXFeeSxxwwNB2xB8/uvotd JvpbegLcYV1SOyCTXrD88siv8c8q1Ecp1wsGKAQ14Li2OzTKxZMOlbxpcRFCwCeFMtAB y+GmewSVHOXAN17e9JI9D27faYbgtkBDFGSLBoiV/M87t9ju9M613z9IldjRMIygMHgQ sNKo5IJYIt5H/l6qao6tbxZG1kzifQr7wyylKl645WEJqRNdxstFFQ/UySGkArpAvfqZ 3qqwSQtTK+iQpx+WS3ZN7waL9Yw9km/YHb1IrUHlursZXqZenQUU7ZOxnk+UBNmbK7+2 /hUg== X-Gm-Message-State: AElRT7GRsgZ9X8cTIcrEfY5r1qqKgVNs6rJU3kLZ2u9COIvm+JFFImSF wTvnWj/khUP9DYTVjmBerzw= X-Received: by 10.99.127.27 with SMTP id a27mr3560784pgd.18.1521031526974; Wed, 14 Mar 2018 05:45:26 -0700 (PDT) Received: from localhost.localdomain ([2405:204:7142:9212:3d49:8166:4647:f07f]) by smtp.gmail.com with ESMTPSA id y14sm3999982pff.81.2018.03.14.05.45.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 14 Mar 2018 05:45:25 -0700 (PDT) From: hariprasath.elango@gmail.com To: aditya.shankar@microchip.com, gregkh@linuxfoundation.org, ganesh.krishna@microchip.com Cc: hariprasath.elango@gmail.com, linux-wireless@vger.kernel.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/7] staging: wilc1000: Destroy mutex object in deinitialization Date: Wed, 14 Mar 2018 18:15:00 +0530 Message-Id: <6997c01b44d8dbc67e53e340014d10d7a0ad7adb.1521030891.git.hariprasath.elango@gmail.com> X-Mailer: git-send-email 2.10.0.GIT In-Reply-To: References: In-Reply-To: References: 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 Reviewed-by: Ajay Singh --- 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