Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp5105841ybe; Tue, 17 Sep 2019 02:42:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqw7EuumQECMSMPX8CR7m6Hvv1GTVQVrfb32rWmVylWvhjGwncepZ24x1a1tTCzjlXRCHa9W X-Received: by 2002:a50:8a9a:: with SMTP id j26mr3628041edj.251.1568713368780; Tue, 17 Sep 2019 02:42:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1568713368; cv=none; d=google.com; s=arc-20160816; b=Xx5Hbvirztg8zFe772U2A5VnDE0TE2dyTJfDrmTxenSiiFM/CPYr63iLjfVHizfC5g hQqlbhIK04RkUlja8LV7DRzA3tZ3FnNVxY7U8CXbIj1etUL6/nObks6C+mol86AzKUzK kdPccmSwuuR6HtHXk5rp0/ow4YaHdOEuDJE7BHkvA5qJzR+ZdE7YZgdj6p767Zxj6lQd FfzsvUETd5Z5mrIeywta5lv7ML1nubuMzT6hcRs7TgfJZfZbq0mn7ZO4upCXmlV0oV1F MnHLLMkefgeJVy4Qyrc2AmJVruxwGCOZmxA4y4U+ktfMaVrDGr33FXjOQcUvVoBRRz8+ LqVA== 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:cc:to:from:date:dkim-signature; bh=A09ebAA08AUXlIM7rfJAlfeNFb0/R3dzB4utBep7g5k=; b=IYDCDwl4t741YfGU7998dWsrc6nBfU7vqZp0yhZKl6MB6dhT1Qlu2KAc2mGAyAFK0n fNcq1SCkdY4oMYC0ospRPvQJqdCMkDkBgxHhTNASRlskEzUFGMw786a8HExdHDSjK7rC leWl+j/PqXlc0xhvDPf0hpeCAhbm20IqHlsewDeATZz9xNUDEYRRUtKTNMwVJ6MNibUu y21iWU259lmxCxcGDp0MsDYoihaZmol93cDTIf0cyzayIXkDxp/7h6YS/KFsXTU8oOso fJ06LdBy81Nc7Vl8obaKfn3BRa/VJjedXiXHqRbsCqj3fbFZWNBPnh4YorZz2BHxfyYa gmmg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=NFR60qqi; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 j14si789847ejf.53.2019.09.17.02.42.23; Tue, 17 Sep 2019 02:42:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-wireless-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=NFR60qqi; spf=pass (google.com: best guess record for domain of linux-wireless-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-wireless-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 S2404334AbfIQGux (ORCPT + 99 others); Tue, 17 Sep 2019 02:50:53 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:38653 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728003AbfIQGux (ORCPT ); Tue, 17 Sep 2019 02:50:53 -0400 Received: by mail-pg1-f193.google.com with SMTP id x10so1467549pgi.5; Mon, 16 Sep 2019 23:50:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:mime-version:content-disposition :user-agent; bh=A09ebAA08AUXlIM7rfJAlfeNFb0/R3dzB4utBep7g5k=; b=NFR60qqidHaph1jwlnhZRW3ByDD9bHtGwZnAvitu0gchqdLaQ8TJRpdntardshvLP/ HXCsWoPL1e53p9YJnxS3UUcfnZrd3Ns9Lf/dSdJzhWBQ8W2lCXDoOGuCwmNGtPfFRzU1 3dlWUxKDAL7faO5GMgwsxngt5VoYp/+9HzEVvag9C0HtrTUdOhtV7M253apWJEpnG/Eu qdtoxDC/u/SycTF8h7KlrOStdgpGfxVLb7lrFutIVK2S1ByJJ9XtCZn+juDgdUmrmkfX kzxs8Rco/90ISXEQ1mqrTGOgMe5IaOdiDMRRNOjD5AjQmf3N4MVUVDGzK6vTKGyzUPMj NNFw== 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:cc:subject:message-id:mime-version :content-disposition:user-agent; bh=A09ebAA08AUXlIM7rfJAlfeNFb0/R3dzB4utBep7g5k=; b=n5MrHH1M/EI9riGHgmm8dygwEp3gbN6MKJvreAuIIwdgEMusfO1vJ2tuyNjXkzIXHZ qK00unwqFZ4GgNmETHma5zC7JaJoRnXEfnKx16hHb2tzfCL8ARXjUz0djhyFETJI2ijD NlEe/ax1VAyt4Hr+XO83PyDOdLZ57Z8IapHDP3SO59ivoD1Rd0zcRBdXM9AFosPEArUg SUHvBlzgY4vxQVj6OkRkXXQYQCiStXaec2Tb/archdcr4Ej0V3mXB+GlL0kGZDtcU5Kb +Xw34M/SsGbqgtdvC7Xc5w67cn6Ur82TZ3OpaS50xczAUo/RbnwI6RjK/KQi7Kiz13/p cNiw== X-Gm-Message-State: APjAAAVd4UVKyVN7/g7rXzSAR3PBvahSbj2aHrR1+KqtrAggeVsxgbBa elSQrqg9V1blw8+0arP23Ic= X-Received: by 2002:a62:8c10:: with SMTP id m16mr2487881pfd.58.1568703050638; Mon, 16 Sep 2019 23:50:50 -0700 (PDT) Received: from LGEARND20B15 ([27.122.242.75]) by smtp.gmail.com with ESMTPSA id f62sm1500038pfg.74.2019.09.16.23.50.47 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 16 Sep 2019 23:50:50 -0700 (PDT) Date: Tue, 17 Sep 2019 15:50:44 +0900 From: Austin Kim To: pkshih@realtek.com, kvalo@codeaurora.org, davem@davemloft.net Cc: linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, austindh.kim@gmail.com Subject: [PATCH] rtlwifi: rtl8723ae: Remove unused 'rtstatus' variable Message-ID: <20190917065044.GA173797@LGEARND20B15> 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-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org 'rtstatus' local variable is not used, so remove it for clean-up. Signed-off-by: Austin Kim --- drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c index 54a3aec..22441dd 100644 --- a/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c +++ b/drivers/net/wireless/realtek/rtlwifi/rtl8723ae/phy.c @@ -485,15 +485,12 @@ bool rtl8723e_phy_config_rf_with_headerfile(struct ieee80211_hw *hw, enum radio_path rfpath) { int i; - bool rtstatus = true; u32 *radioa_array_table; u16 radioa_arraylen; radioa_arraylen = RTL8723ERADIOA_1TARRAYLENGTH; radioa_array_table = RTL8723E_RADIOA_1TARRAY; - rtstatus = true; - switch (rfpath) { case RF90_PATH_A: for (i = 0; i < radioa_arraylen; i = i + 2) { -- 2.6.2