Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1046413ybd; Wed, 26 Jun 2019 10:14:22 -0700 (PDT) X-Google-Smtp-Source: APXvYqzWd4bYWj9tg8lfzg3ZMJPaEuKZsj0RKRMQUx6nhJxtjMar6BKa5atH5wUIcqkPY5iNlkbb X-Received: by 2002:a17:90a:bf0e:: with SMTP id c14mr117011pjs.55.1561569262274; Wed, 26 Jun 2019 10:14:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561569262; cv=none; d=google.com; s=arc-20160816; b=1A3j27zflIQTlTC+IqwU+f+KQ2drmHTm5CclBc6VNN0BveBbZteGtCIlgmCFtsx7Yj vTXDNJLqMMOU8/xHezK7OUAox+ZUxjBychGAwhJvZDjfBKTEoM6vxV2RyhfZI/EzrXaF vvrgE0kA31wKhW7olXwBm15r6NnrIdbjZJhnOUAo3Yeh2A7M7mvS816bJNsnWaiMKd26 kuTkVG/EEnDUhMu5VCG1ZFZiMP67Jb1yabp5i78qdhifB+2O3CkHIjcBXnSsrh1DPxzl oCt2f1WvdEWCr8sSWOqbbKrhVmVbKGuhm+B6jOEi62czodkq6ydMXliivIyEAnWNUTmo cBfw== 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=CsaoBvUbxc4mMIWtj7F1FJyHfEKhGjA3BcDoeeu3Mi0=; b=rVybAjfv94hC0FrgAQrPj3hHSn2dCFhfzDJMi84vAZk6+Pr//+CV8bREToYgL3a0rH tOcLlxXb7iLDt0nOqiSoN5MT6pQcGUHbejirom3QCxS3MiDvFtPwZ1y6/dcB0IRyJraV DSFL2kIavDfL4w3egZxVsOgrbJV6UzkCOEsfnvw+NLxXaJyrcv6CiuRs2RiQuR15k/xN 0AM7rQipxj5BkYclS8rhGSI/MAyhUfrdH7xcyo2MuXuuK55B2EntBgfEGJ+kDuS+nTfz EsH4WtoZ6uZXlHHfKzUwwGG+vshOZfKCoqppMkWvFpW2nF296bx4Ifr12UaH9e0wVG89 f1qQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=KAkMWvin; 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 t18si3636602plo.328.2019.06.26.10.14.05; Wed, 26 Jun 2019 10:14:22 -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=KAkMWvin; 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 S1726520AbfFZRNn (ORCPT + 99 others); Wed, 26 Jun 2019 13:13:43 -0400 Received: from mail-pf1-f193.google.com ([209.85.210.193]:45668 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726006AbfFZRNn (ORCPT ); Wed, 26 Jun 2019 13:13:43 -0400 Received: by mail-pf1-f193.google.com with SMTP id r1so1675575pfq.12 for ; Wed, 26 Jun 2019 10:13:43 -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=CsaoBvUbxc4mMIWtj7F1FJyHfEKhGjA3BcDoeeu3Mi0=; b=KAkMWvinYM3WCFHMk5qD8sTYuPiJ3/ha66J2WkO+zyCEeGVcyyAaWZD+rTZsiZGU6W EPjWJzzObfouO3IGkNT3FeUOfWqU1H+1sWaFZvTx6Pqtfi9rQ9MD/sk/8wnPeGhLr2LS u7zyOVNZkIgfVbPMK4K1LtS54PXSYzMpflGC5tU1uBK8a8y5vfNra/yCMeCDSBIPHwFE 31S2zy2gXEwJ4CDdANZ/pSK//T2CG2KyUA/MUdp55o4txqCWwzAvPOUPShqLvUR3xeuu r0iusCKOBhzgPn/h78UI96oVwout/9MtuQ3xKmQOjtLSdqqPIo+kpQfsDSrqVbsnjhjB VIUQ== 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=CsaoBvUbxc4mMIWtj7F1FJyHfEKhGjA3BcDoeeu3Mi0=; b=FpQ2TUhFA0cCKjB20PKZ9PyA5ALkJB7gTAYd3x8HWQ2JbP0MQCyJbAwWKUyIG58qnJ HZ+FRmzmsRp/38yYM38QlJZiGOa+TQIRW4COComQ6HL4r5crX3iFiD5tRho7xVaMhSmU +na+DY9wCtYzZf1vkHV6iG+IBIKhisNveGLtFjua85VaUj5M6ziM27ECGp5e8Vy38P7a h6Pga/Ye1z/jLq6uSm8WapbIp89OeOI9yWIzYWO0mLt0mBxAvYRMyliQjIJdl9JWmMh+ 10uKSLKkLq68TfVumc0a8QuGCNuDFVinQ+ww/sHwiadkN+il5odl80nj3ydJ6YbWWs1I Jt6A== X-Gm-Message-State: APjAAAUhPSpT07eHXFcmtRXiAa1/fCXghEz4nf/Rl02zVUPw+MRtcMmd S2cYjE0S4bg1Cv6KZ2kruvs= X-Received: by 2002:a63:f817:: with SMTP id n23mr3997244pgh.35.1561569222723; Wed, 26 Jun 2019 10:13:42 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.92.187]) by smtp.gmail.com with ESMTPSA id 85sm24709590pfv.130.2019.06.26.10.13.40 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 10:13:41 -0700 (PDT) Date: Wed, 26 Jun 2019 22:43:37 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Nishka Dasgupta , Himadri Pandya , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: hal: rtl8723b_cmd: remove set but unused variable Message-ID: <20190626171337.GA6080@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 rtl8723b_set_FwRsvdPagePkt function Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c index 48efbfd..1bd5f5f 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_cmd.c @@ -1434,7 +1434,6 @@ static void rtl8723b_set_FwRsvdPagePkt( struct adapter *padapter, bool bDLFinished ) { - struct hal_com_data *pHalData; struct xmit_frame *pcmdframe; struct pkt_attrib *pattrib; struct xmit_priv *pxmitpriv; @@ -1464,7 +1463,6 @@ static void rtl8723b_set_FwRsvdPagePkt( /* DBG_871X("%s---->\n", __func__); */ - pHalData = GET_HAL_DATA(padapter); pxmitpriv = &padapter->xmitpriv; pmlmeext = &padapter->mlmeextpriv; pmlmeinfo = &pmlmeext->mlmext_info; -- 2.7.4