Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1061314ybd; Wed, 26 Jun 2019 10:30:21 -0700 (PDT) X-Google-Smtp-Source: APXvYqxahu+7lYpS3xTtutixnqJPUkXeGxebjZMwlch6KoV/Vs4WYt7515SSl1FWLP3/TT9hpNzJ X-Received: by 2002:a17:902:583:: with SMTP id f3mr6692849plf.137.1561570221058; Wed, 26 Jun 2019 10:30:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561570221; cv=none; d=google.com; s=arc-20160816; b=KOuDVV3CEZuVsKIE7PG8+1O+2v6jgDXEchC5X22+AD1o4Ju7GwXLL98sZpDDSGYekT h34ujH4kYf6r4hPwqQTxs/1zi41CbmTho4rOlSlj5G3ovytl00SjO/QbYow2Q8qFuQfc G3LtAAvEdkJl83xB2xKIwYtfZ71FNYSgwJdSWtpHz2sCqicLHC595jMn5cJ8WQlLmDPc Kw3sl7cCfQTRxLE63SY04el9qLKS6p+cnOcH6P+2INFc6qg/toApVEc4pQXZ33Ssob8M sUNzlZE7ZBi2UFp05qjL47/fDa6WEaiGO+1l+L2CfHJ9FKEGT6bbWaWEmh2wIIFrY+gn N5/w== 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=5T6JwdKRjR0/RiG3X8PeL3Pv8Cc3TnWD4IRh13Xy5ag=; b=oUvCpCxaFZPhynzryzoiwlmXz6/RV6IO6/wnCqPZUWJtAocZW97Grmp/O/hnfQ6B7q GuWfEapyHeyerRk5RQLRRpRTL3we/GeVU+a24AB1kTBEqAaz+NjvKmURbYjpND5E6fRS cgzBpH7i/YAiyozOWWPc6DTC6GnaQMQ5dkBPI17MQTJWqGQIM/fh4Pyses0LesjzmKTd fhvWwTUJowyFrdrjdDAvDPH2/9UvbC5rTc/OWhaMoXzv1Iw/9NBkDvzQsXKFreXRgdk9 4DUh3PvLqq5VHxWqoH4U+69ZO3GaUfoNCtyOGoxryAvtgjuFCzWT8bEYW4t1ezEZcYiX 4kpg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=My7eCbBl; 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 o70si18410292pgo.261.2019.06.26.10.30.02; Wed, 26 Jun 2019 10:30:21 -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=My7eCbBl; 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 S1726320AbfFZR35 (ORCPT + 99 others); Wed, 26 Jun 2019 13:29:57 -0400 Received: from mail-pf1-f196.google.com ([209.85.210.196]:46456 "EHLO mail-pf1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726179AbfFZR35 (ORCPT ); Wed, 26 Jun 2019 13:29:57 -0400 Received: by mail-pf1-f196.google.com with SMTP id 81so1696178pfy.13 for ; Wed, 26 Jun 2019 10:29:56 -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=5T6JwdKRjR0/RiG3X8PeL3Pv8Cc3TnWD4IRh13Xy5ag=; b=My7eCbBlW0B5mb2GiL0BF8ubkmwJqvdlp2tjJodqd30zEwBuyaywestOcC28RB/fHl eWqpPYluiFgdQJnQ5cdPaifnUof2fwhquXW/5BbSuJrUrZvfU+F1QWXW7N8qvQRvepYz YuJkQJDQMoSFtGQ7zJtLkvhFrQ6V83tu+W1ALYoHtIHZBew3gtEM2P3hp4tnurJlS/vg CE+jLYwkZgBpNtUXa3L5ysct7ElmiI7l4Hb0u+LZVma+wMG6OLTrCEVuKDZJiJVaIFhe WHzIOALIYKaNa/uV0Ozs1qjve+pxiZpKu8Pa1KXzjfrqyRZkJ69xxlc5+Sf7y1oICyPd SY5Q== 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=5T6JwdKRjR0/RiG3X8PeL3Pv8Cc3TnWD4IRh13Xy5ag=; b=o6Iyu7FBk/L0Z9Qd9Pclq+p9oJ5mx5oYQtY2hFHJaG+m6cytRZBa+0UBO2Mo3Ex6Sx w++vMH7qFEg/f+sZrLrv/W5P6ciE17kcSXwBwuVfvk0m7Q6+jzfOnHoVInPjJPelip8I 0FffMCrvcEGtzHGRomHwlEbP8Z/x/4LXEt3uonvQkYUWhfyds0/nqqTz7K5H4uMJsNpa +YCbv+pfzFn3m/dwLsUyWs9wXEeEkuuitgCETezJYZefm7OBj/axwdnfHin7FnwktzZp 9OrawskIMiRwM2SFdB9HXIRxru5xP903QEEWtCaj13QNF3i0waAvTdkuk44R8x3So9Li CMqw== X-Gm-Message-State: APjAAAX0KRf/uEpIPbaiXPou/hbsz7eDmuvG4fcWFh1c0fM060QPRyN4 yYjp3r85cVvGMf4dTOEzImw= X-Received: by 2002:a17:90a:be08:: with SMTP id a8mr190221pjs.69.1561570196512; Wed, 26 Jun 2019 10:29:56 -0700 (PDT) Received: from hari-Inspiron-1545 ([183.83.92.187]) by smtp.gmail.com with ESMTPSA id 11sm30296257pfw.33.2019.06.26.10.29.53 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 26 Jun 2019 10:29:55 -0700 (PDT) Date: Wed, 26 Jun 2019 22:59:51 +0530 From: Hariprasad Kelam To: Greg Kroah-Hartman , Hariprasad Kelam , Arnd Bergmann , Hans de Goede , Nathan Chancellor , Himadri Pandya , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8723bs: hal: rtl8723b_hal_init: remove set but unused variable pHalData Message-ID: <20190626172951.GA7521@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 hw_var_set_mlme_join function Signed-off-by: Hariprasad Kelam --- drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c index 6cfd240..8ca6249 100644 --- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c +++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c @@ -3579,14 +3579,12 @@ static void hw_var_set_mlme_join(struct adapter *padapter, u8 variable, u8 *val) u32 val32; u8 RetryLimit; u8 type; - struct hal_com_data *pHalData; struct mlme_priv *pmlmepriv; struct eeprom_priv *pEEPROM; RetryLimit = 0x30; type = *(u8 *)val; - pHalData = GET_HAL_DATA(padapter); pmlmepriv = &padapter->mlmepriv; pEEPROM = GET_EEPROM_EFUSE_PRIV(padapter); -- 2.7.4