Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1075627ybd; Wed, 26 Jun 2019 10:45:28 -0700 (PDT) X-Google-Smtp-Source: APXvYqwc0yJQ74rQl8oPojclPIYt8PjIifrhwznpixZNN7xKRrvwU0gTa3PiqsRr3jvXhxIoc0Tc X-Received: by 2002:a17:902:403:: with SMTP id 3mr6721148ple.66.1561571127988; Wed, 26 Jun 2019 10:45:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561571127; cv=none; d=google.com; s=arc-20160816; b=0OOcmKVLFRKsGWI/Qg1KfyWw/DMIPLZMI7cFn/HnlBF/X9cmD8Pi6Q/2DtDz2hD9lZ LN6hRqa9u223ueOhhueYYY4v3F5A+UxLGBdbrWC/cGDEF8fYTiz51OccRbWkyMsUa36p IG8UEjViloy1LYYIR0HrKV+HLtgplOp4cbX884QcIeTlN4Evmi0qVh4URZHjm6M+ZJFi MGtyathPavdqKyeaS/6jBCtbnF0daFMCHLbHDULDwcRIJpD9U91tMdRj7ihuIubf/7c0 hTuKmkTnpWEsa2tNNKFaMVFNZqCmkCLdPqAiMX+pp2AfHkQBYCXZoV1X3fY5hs3/GJIz +FoA== 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=2Op3n5iEsvujbWLuRbwUwnaBtFtleYDkesVFXREb9Vo=; b=tiQsTKd7u8teYBRIM/Y5HHp7U1p9/V0OKonnELuI3wO+84BChYJRYrKSqmwQpFFkvC rKSlYi2B0fodG/jBIrRzOi1TVYXWIhD3YkYaikDCdmakfV5DKU0YQe81Gl45o9L0TVX1 LhGSxFBbU7rZr/opvez5AhQhgjvrHHi6ExF18ufj7qBKahQdChR5mUUSKRCJXaM/jswP yACTY5RAaKqae2MVkEuiYyTEmrWExFlmQ/hkv257+FQUkcVBSXShKb+bA0U+CdiJvDCF JhIo+XfgVsMiIF7f75QyAFUWtcP1X1gMmRJMygGyGy0Gbu8YD4D1pwalZzUYqSW4vmk8 /n0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=VHHv5soN; 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 13si17673343pfh.169.2019.06.26.10.45.11; Wed, 26 Jun 2019 10:45:27 -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=VHHv5soN; 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 S1726382AbfFZRpE (ORCPT + 99 others); Wed, 26 Jun 2019 13:45:04 -0400 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37086 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726042AbfFZRpE (ORCPT ); Wed, 26 Jun 2019 13:45:04 -0400 Received: by mail-pf1-f194.google.com with SMTP id 19so1736669pfa.4 for ; Wed, 26 Jun 2019 10:45:03 -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=2Op3n5iEsvujbWLuRbwUwnaBtFtleYDkesVFXREb9Vo=; b=VHHv5soNPZ1wTs+oB5lvnI+GJuZqal0ynwkBCxaFyga1OO+eyxT9pbASC8Nv1TpLtN atuN/ZHup1I27DxYX6GqfFjD6LD9/uLHY2rDJ1dMqZmlI/hGCwfB9x/g+A1p2EQjTLQ5 zewrkWn7u8Vq7fWl8HQQ/CDBAwfC4MlSMrwXfN8n95bffLMoFWIKYhdKXRvJ9REbf5Fi 36nxophXkAtsWnSHtxkGOG5vKGtiZNZl/IA9P9nBMp5qKQv6BOnKFYoI3EQsP2nZliWT Ojk5GSSRod3hpiiLC6tHPReDBdwtpRpXiU/ONFuc07I6v6Aq5s9IfFRiyZzYALeC5j/0 vWOA== 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=2Op3n5iEsvujbWLuRbwUwnaBtFtleYDkesVFXREb9Vo=; b=UZcdZ6f32GQV3ZiZmmt6iaPQGujWMn5y20lsOv7l6tPP32ZPsS1RFz9qlNlCnTgX6P 4HaZQjdFDyHml8pLIyzsTuGk6/7QDmshgF3Cf+kn68vJxqdQBL0cTW/oJOwG8uRJDpHh Ye0IA6e4xc/k2kYuSb6Sy2vp8Cf3OdvCw9m4KjqzpTPpf5EtwmmJGeTU40yJy/4EyN78 mf56YPADtVFcBqongYNfHWm0POwTU2XEFyFxakGRAydBbR7lA+dRFCX1zHTCNHzzian4 HLsxYuZDP5EPT1uzuQkwYdAA+WVvtPHchkSKtNqQDdDhC5+2RMV8GXFOBo8ZXSN5O85J bIKQ== X-Gm-Message-State: APjAAAWjefOe4SVFHeawHoVjFzWFsmwaqWQ8p1FKjvkmLi24cMrWem2U tu4fO9GyyAZBNdBx8IXe06Y= X-Received: by 2002:a17:90a:25c8:: with SMTP id k66mr263362pje.129.1561571103465; Wed, 26 Jun 2019 10:45:03 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.92.187]) by smtp.gmail.com with ESMTPSA id w22sm19712088pfi.175.2019.06.26.10.45.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 10:45:03 -0700 (PDT) Date: Wed, 26 Jun 2019 23:14:59 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Nishka Dasgupta , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: hal: sdio_halinit: Remove set but unused varilable pHalData Message-ID: <20190626174459.GA8539@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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/sdio_halinit.c b/drivers/staging/rtl8723bs/hal/sdio_halinit.c index 4d06ab7..9e8bbee 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,7 +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: -- 2.7.4