Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2358160ybd; Thu, 27 Jun 2019 11:03:46 -0700 (PDT) X-Google-Smtp-Source: APXvYqxXZFBbTu9QQ4eHycMNh3YXk+rjL1NhMOXZ1wld9KuWHbkjxgpTqZNTdYWcVtLa/xrpEVJu X-Received: by 2002:a17:90a:1b4c:: with SMTP id q70mr7319505pjq.69.1561658625873; Thu, 27 Jun 2019 11:03:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561658625; cv=none; d=google.com; s=arc-20160816; b=xoe8dSvloGZC029mDFrimyFn6MD2Qcd89gwum+Ibl4iFHvaS5SVDEjZM+C/C55xcCF dtcFMhf1kYtxzhidJCqaCNsGLb8LZXygdL/RYOVIaSfiIDzRLm7aiic61jr0MUn1GlTg MRO77OX7jjtn51fMATbDg/DJ4Gw1Gj2e8Hx5BZFXlZRsaHEh9Y59gIhYbLYK9+fhm2zJ 2Dpi/3nA8ibHCJrzQm+d30CSvXNg0R4/klZPzq7nln1Bf/d+bhkk3BM8+OW+C57jowS+ iphtX0yg1JAnQ8Tyh43rmvexLqMpujGDnBhPGbwZhL1UAJpTWxTX4d6jOI9opb+FLAap qG0A== 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=1mhPYTvcTMkLr+r7i1/bipLacTCuZ27SECVhqtgV4Ww=; b=v42OWnoFk5gkzBLesYqvlksdgl2Vttd2vJxbOmjsKxl8RspaFXzvue7qpj4Fs6bvsX 9EcAA0rGciw/lnMgoKeyisy2ogeh6jVBuG4tUpWTWitX43eE10D1TOVP+DwUCtfFKWd8 tnF9uvTFrPRLpx+b/kf/BEYlLjhQ0xC4/qbB1XQqIzOQhgBNEukCMol03fCdSMC0ozrR peU+AOjGHyyG4MJJHAZBgJjFHYb0FZvSlx8JBBhRHI/hM5JdQGzGl0ColAmWI7KSXlqX 8GS1vOD3PSOEwrwJQTxO8RecbuF7gbxNnnBbydPNJsNC5Ib5+/ROjhr5PoEYlM0X+EFK 83cw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fajK3tVf; 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 u6si251869pfm.135.2019.06.27.11.03.28; Thu, 27 Jun 2019 11:03:45 -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=fajK3tVf; 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 S1726601AbfF0SDI (ORCPT + 99 others); Thu, 27 Jun 2019 14:03:08 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:40140 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726502AbfF0SDI (ORCPT ); Thu, 27 Jun 2019 14:03:08 -0400 Received: by mail-pg1-f196.google.com with SMTP id w10so1367194pgj.7 for ; Thu, 27 Jun 2019 11:03:08 -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=1mhPYTvcTMkLr+r7i1/bipLacTCuZ27SECVhqtgV4Ww=; b=fajK3tVfVu0hc2KnwP+O/QcY4Esv2sFB6mxeSNSyrq1qttpTpId4y06ovuQhh1c8Ek vaoUQeJzAcss7zi7buBf6vBH87225tPeYsOTq66E1iGyM6LQLKfcsCEmWRuU3nYHMydO Y6ogyZtXa4D1dMoDU+WBwRkjXAmwD3jTIWDdtlkWiBllJxxWe4sLLXrHiKJJ8piel4oN 0TZKzPdrr21D84oo1SGZNAxz4TWDRK36DBKi4XfRE5Jwob+0y9vRIew6xpNQunVjnr/A RNki7tINVGnT3su0GXUs+gmUF9FvKiK1qXEedpGoY0ieaEPZdm7I6yoXJP2d4HWtJahz z+JA== 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=1mhPYTvcTMkLr+r7i1/bipLacTCuZ27SECVhqtgV4Ww=; b=KSlby0Fm3llPS3UIPk2VOKBrGGUkPIzqBn4/OTPWin57mWKZZd/QRncWPI2ADWVuZe bCU36qKeOLUDeaVYixVpp2kcJxWTiFyHtG2mGOU/RnjkmrXfTNUQSpSceg3C6gX8jnG/ vI6zdjhvzf2cv02m65/2W5d05X8UF9Jn7YtMof8NaXbCGbgX74qvd2dDR1sA+66dY+UE ngTZ/vFWP79Ewus49CPwIkf33cDoAkKa7rPbm19QqpKjZn+QqFyGjn8gnjzbRBeTY+5y NbsWPoKpjaVhhqTXm+S4A4HtEHMD8/AtTEGK3gEKfL9p6wP/0x56ybfOaG4Ar+e9JL67 Fs/A== X-Gm-Message-State: APjAAAVWTsCyFr97zCBMKdklUXgPgn3Yv/FW+ie34wxJu1bksIgTk3LR JPYWJTyKwAwRyStYhW80BeQ= X-Received: by 2002:a63:4e58:: with SMTP id o24mr4861689pgl.366.1561658587793; Thu, 27 Jun 2019 11:03:07 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.92.187]) by smtp.gmail.com with ESMTPSA id l1sm2548655pgi.91.2019.06.27.11.03.05 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 27 Jun 2019 11:03:06 -0700 (PDT) Date: Thu, 27 Jun 2019 23:33:02 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Nishka Dasgupta , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [Patch v2] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData Message-ID: <20190627180302.GA3186@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 Remove set but unsed variable pHalData in below functions _InitOperationMode, SetHwReg8723BS. Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/sdio_halinit.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index 4d06ab7..5b72d61 100644 --- a/drivers/staging/rtl8723bs/hal/sdio_halinit.c +++ b/drivers/staging/rtl8723bs/hal/sdio_halinit.c @@ -606,11 +606,9 @@ static void _initSdioAggregationSetting(struct adapter *padapter) static void _InitOperationMode(struct adapter *padapter) { - struct hal_com_data *pHalData; struct mlme_ext_priv *pmlmeext; u8 regBwOpMode = 0; - pHalData = GET_HAL_DATA(padapter); pmlmeext = &padapter->mlmeextpriv; /* 1 This part need to modified according to the rate set we filtered!! */ @@ -1413,7 +1411,6 @@ static void ReadAdapterInfo8723BS(struct adapter *padapter) */ static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) { - struct hal_com_data *pHalData; u8 val8; #if defined(CONFIG_WOWLAN) || defined(CONFIG_AP_WOWLAN) @@ -1433,8 +1430,6 @@ static void SetHwReg8723BS(struct adapter *padapter, u8 variable, u8 *val) #endif #endif - pHalData = GET_HAL_DATA(padapter); - switch (variable) { case HW_VAR_SET_RPWM: /* rpwm value only use BIT0(clock bit) , BIT6(Ack bit), and BIT7(Toggle bit) */ -- 2.7.4