Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp1397331pxk; Thu, 10 Sep 2020 14:23:22 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx2zgeOY3hKIad15fOumb3H3Uf5gg9LC1NiEJevaL+2rjHvOKZ48o3Jx6FDV3nKzbpkq3Fr X-Received: by 2002:a17:906:2c01:: with SMTP id e1mr11251890ejh.128.1599773002047; Thu, 10 Sep 2020 14:23:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599773002; cv=none; d=google.com; s=arc-20160816; b=DZEIwrYnl7PAIEYjTuUeuxYjXIIKNf+n2ljPyDkQ8oYXVYUbAoGlVjs7GCaWaJygkT UbrLmoVh3pUqMW1E9na/2wp1YoiCya5AEmDKE2g0N3wLuqtO2pw3vB93o5UWOCId6XyQ 6pH+PRYyM8HMeg2d+BPDcNbPy/PaJrWHnE2LciRdZhJ5xdC6FrRp6bOBiKIUKqT51MOR WQ6BvvEO1XF5fFwtHL2Jm6AjbOwlA2tIM5ADiDDvpLT0mQuxrwuSbVFpfqN+mvX8XQ+r iaE1gtOmVtDKb69eI+XKDeeIYhCJijewKSllpZRyk7p313X6AfYhkf5sglezkcrIXHR0 z5dA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=NsbkyBvrUq2Je5lkXlzXUhnZK32QFtRBGIqJSke8EvE=; b=fS1fBiS+36VmWX+/bCouCYMZIEwlgKI9yNypBi2ghdSx28x4/nARf+Yebir/Sc0VwY BVN/SN407PjlythOLzzrAK52dvMKbPU4B5VWPSwsajXXd1aPN5ZaEnC7zU8c6iUw29qS p7oTIpwE9nnvVvJQhnm/qps3hgZe0cFeGKBikE7d9TG7+Q3eNqW5l+xE8hwUgRb2P3rH Nbn4YwQDVgQQF1komFEOEZw1+8nYM5vKYESXuAXfiV/bobRI8a1pWmzdC8Id5wWrGZ8M Fl8QE7HfaXl0PQDt9J0fMqB6BTEL11HtpwVH2HLlXsg8alqtLTPEiQFxm1rDr6/9ETbR ChmA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m18si4431072ejc.93.2020.09.10.14.22.51; Thu, 10 Sep 2020 14:23:22 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728109AbgIJVVw (ORCPT + 99 others); Thu, 10 Sep 2020 17:21:52 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:54740 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1731097AbgIJOYG (ORCPT ); Thu, 10 Sep 2020 10:24:06 -0400 Received: from DGGEMS413-HUB.china.huawei.com (unknown [172.30.72.60]) by Forcepoint Email with ESMTP id 69493383A936470940D8; Thu, 10 Sep 2020 22:05:52 +0800 (CST) Received: from huawei.com (10.175.127.227) by DGGEMS413-HUB.china.huawei.com (10.3.19.213) with Microsoft SMTP Server id 14.3.487.0; Thu, 10 Sep 2020 22:05:44 +0800 From: Jason Yan To: , , , , , , , , , , , , , CC: Hulk Robot Subject: [PATCH] brcmsmac: phytbl_lcn: Eliminate defined but not used 'dot11lcn_gain_tbl_rev1' Date: Thu, 10 Sep 2020 22:05:05 +0800 Message-ID: <20200910140505.1168317-1-yanaijie@huawei.com> X-Mailer: git-send-email 2.25.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.127.227] X-CFilter-Loop: Reflected Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This addresses the following gcc warning with "make W=1": drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c:108:18: warning: ‘dot11lcn_gain_tbl_rev1’ defined but not used [-Wunused-const-variable=] 108 | static const u32 dot11lcn_gain_tbl_rev1[] = { | ^~~~~~~~~~~~~~~~~~~~~~ Reported-by: Hulk Robot Signed-off-by: Jason Yan --- .../brcm80211/brcmsmac/phy/phytbl_lcn.c | 99 ------------------- 1 file changed, 99 deletions(-) diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c index 7526aa441de1..5331b5468e14 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c @@ -105,105 +105,6 @@ static const u32 dot11lcn_gain_tbl_rev0[] = { 0x00000000, }; -static const u32 dot11lcn_gain_tbl_rev1[] = { - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000008, - 0x00000004, - 0x00000008, - 0x00000001, - 0x00000005, - 0x00000009, - 0x0000000D, - 0x00000011, - 0x00000051, - 0x00000091, - 0x00000011, - 0x00000051, - 0x00000091, - 0x000000d1, - 0x00000053, - 0x00000093, - 0x000000d3, - 0x000000d7, - 0x00000117, - 0x00000517, - 0x00000917, - 0x00000957, - 0x00000d57, - 0x00001157, - 0x00001197, - 0x00005197, - 0x00009197, - 0x0000d197, - 0x00011197, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000008, - 0x00000004, - 0x00000008, - 0x00000001, - 0x00000005, - 0x00000009, - 0x0000000D, - 0x00000011, - 0x00000051, - 0x00000091, - 0x00000011, - 0x00000051, - 0x00000091, - 0x000000d1, - 0x00000053, - 0x00000093, - 0x000000d3, - 0x000000d7, - 0x00000117, - 0x00000517, - 0x00000917, - 0x00000957, - 0x00000d57, - 0x00001157, - 0x00005157, - 0x00009157, - 0x0000d157, - 0x00011157, - 0x00015157, - 0x00019157, - 0x0001d157, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, - 0x00000000, -}; - static const u16 dot11lcn_aux_gain_idx_tbl_rev0[] = { 0x0401, 0x0402, -- 2.25.4