Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp199522ybd; Tue, 25 Jun 2019 19:43:40 -0700 (PDT) X-Google-Smtp-Source: APXvYqx9L/XgN9+JWVHTXGm7PfUbZ7T+ppoZgXI7nJDij4llhtJ36K4pCy61bHA6AXnl71GBA78i X-Received: by 2002:a17:902:e40f:: with SMTP id ci15mr2237793plb.103.1561517020559; Tue, 25 Jun 2019 19:43:40 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561517020; cv=none; d=google.com; s=arc-20160816; b=M6lHxW3ddrU5ctEC/e2Dp3QNKvTxZHSuTLfIrTXkGqvU61cbr85Lbj/+m8CdGCmDq+ VWc8oi4S8+wnolRA+LTSPb/qRgRpNksmueFxEgc8LwGdZAw4xS7LgknspxjhfHLrr+ES 3Pk5DmvDSNuU1icOn4dhDp2XQtNSL/f9ybQytRdPbjfIg2q4RYQ3Neulkj0ja61+jtzC 1EytD++pPt8fr56aqiTjtTBE0oqdTEC3wFTaBenpKLtTFPVgCyGO3WOX+5m0Vg9cQcFH AR6jpSVg+Z+pvqSO9YrwcvenSgIJk5kEo66Ci6fGngNEShEhjM5TNDIGcsgYrCF83zAR RdKQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:content-disposition :mime-version:message-id:subject:to:from:date:dkim-signature; bh=TgGo/bYiWps+k76eI/kRcNwlMNadlMcwHKR/CkWVaSY=; b=EvMC1R7BpXnO//bT9+NSEZA6cq3BIKhe4wgEqjdfWsBV9YDBaszwrVUgm5fWlM2m4E aB7L2ywh+Oh+Z5iY7KiWnXbMVS7pWfnTS52Di2pfLHkAdFVc+vD99zIOnVOZsgsBPpdS l9FYxAF3NvJWLjZMM1X8feYFJBvKmaTCdz9VJHpDg1NJeuoH6nh7DfIW9Yplxif3aeI/ 3uCblrQ2GpqFKdIyp6EesI9/Ycfze153harkoYM0CCadeHTbadTsqvQ3yY4vl+kPqfQf 3CBqbt0NVWqzIPraa82+OLpR375oFNGTlpx7kW0Jri2Ovxk9AI5lIZwqeIYqsPvGjunS 1I0g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KkeqqqqW; 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 f5si14406484pgq.564.2019.06.25.19.43.24; Tue, 25 Jun 2019 19:43:40 -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=KkeqqqqW; 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 S1726652AbfFZCmZ (ORCPT + 99 others); Tue, 25 Jun 2019 22:42:25 -0400 Received: from mail-pl1-f196.google.com ([209.85.214.196]:43283 "EHLO mail-pl1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726387AbfFZCmZ (ORCPT ); Tue, 25 Jun 2019 22:42:25 -0400 Received: by mail-pl1-f196.google.com with SMTP id cl9so515124plb.10 for ; Tue, 25 Jun 2019 19:42:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=TgGo/bYiWps+k76eI/kRcNwlMNadlMcwHKR/CkWVaSY=; b=KkeqqqqW0H0KOwBu/UKfqUQpMzCwsR5/X8t3ZCZSLkbxtXvUHCx+0vdN30Bb3ebWVa CNF69Nrz1103guRIHT7UKCJOsNwXfrDLm5m5amiWAnYWh90stJRD5PbRSbwUmc0tb+5G dj8OHZG3nIDdGEhqMF69a48GSuDKUR9CDBbaVDyw/aDdWQRH7lQwinbVRfuZjlrAVbuA Sk1YEvSWeIkm39saY9XN/7gh9J0Fr9wRXYH70moPToY+4ccLi9Btw8oJk6rCNb+MZiql ocJztIHDVdRXRwODqAYVIlSfcA85ZqNFztW7JIpwv9MvjnDXhw0RoWLrlZtYv+PZSn7h skEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:user-agent; bh=TgGo/bYiWps+k76eI/kRcNwlMNadlMcwHKR/CkWVaSY=; b=U+colR1Bk0Eyf5JrXHvkKw4szDY/h9SYCCLGgw/sIzGWWww/MYP/ft1Y277W01MyRm J5KeA09hKxe4wWH/rgOwv7rXksVjK/GT342VvqFM02uL0MgWehRvBW393tXdgwmNQ8/x mA/4H1qL8Ovjb+a7lfcliEfKe+noSeMrKKKLkD6OP/6uCAJlN58JuSlPPFnaU38SA4kU PwMuVcDJ153M2r4Ce2TMF8ucemA9ZCOL6iBeJOiXKjF9CywgOiSyKoBwYyOHBOql4z30 ut/dmzo/hi9Dr5yeGPWUdgrxuLWji06SPklp7XHJmy9/6/SGYjj5z7XSaIikuxi/eoRo 41dA== X-Gm-Message-State: APjAAAW4WIXJBIpmeRYwbhJDPZPKIp2Z2GWAWwc6kq4OxlJveQfEbF+Y NxT+i+HFTZn6mK0Bse42s6Q= X-Received: by 2002:a17:902:bd94:: with SMTP id q20mr2198045pls.307.1561516944732; Tue, 25 Jun 2019 19:42:24 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.92.187]) by smtp.gmail.com with ESMTPSA id u75sm134659pgb.92.2019.06.25.19.42.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jun 2019 19:42:24 -0700 (PDT) Date: Wed, 26 Jun 2019 08:12:20 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Himadri Pandya , Nishka Dasgupta , Hardik Singh Rathore , Shobhit Kukreti , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH 2/2] staging: rtl8723bs: hal: hal_btcoex: Remove unneeded variable PHalData Message-ID: <20190626024219.GA6052@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.24 (2015-08-30) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org pHalData is not being used in halbtcoutsrc_LeaveLowPower. So remove the same. Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/hal_btcoex.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/hal_btcoex.c b/drivers/staging/rtl8723bs/hal/hal_btcoex.c index 99e0b91..0c2a754 100644 --- a/drivers/staging/rtl8723bs/hal/hal_btcoex.c +++ b/drivers/staging/rtl8723bs/hal/hal_btcoex.c @@ -195,7 +195,6 @@ static void halbtcoutsrc_NormalLps(PBTC_COEXIST pBtCoexist) static void halbtcoutsrc_LeaveLowPower(PBTC_COEXIST pBtCoexist) { struct adapter *padapter; - struct hal_com_data *pHalData; s32 ready; unsigned long stime; unsigned long utime; @@ -203,7 +202,6 @@ static void halbtcoutsrc_LeaveLowPower(PBTC_COEXIST pBtCoexist) padapter = pBtCoexist->Adapter; - pHalData = GET_HAL_DATA(padapter); ready = _FAIL; #ifdef LPS_RPWM_WAIT_MS timeout = LPS_RPWM_WAIT_MS; -- 2.7.4