From patchwork Thu Sep 10 06:54:30 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 249557 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp473609ilk; Thu, 10 Sep 2020 00:08:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwRo9P2C+irecO9qwJ9F3iLjtgxTLDuvnHj+R9LTSoKD34bR3Lp0NEkK3Hi5UjjikHGfwLG X-Received: by 2002:a50:8524:: with SMTP id 33mr8170937edr.123.1599721732184; Thu, 10 Sep 2020 00:08:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599721732; cv=none; d=google.com; s=arc-20160816; b=JNnZy02Z2EyobVXrzh82x4ZufMTRVczBJNNr8of/ZDvMoxk8IuN+tWomMAcHKBEmin gJk9wxkXyJqupxkDKspXOMU6pK2rYiqwr87ouEXTWKK51qo4UJhNS8olN1Sx93fwk5xM wck9UP7UZgpDkkCdmhjRoolkblPvp44nGXyS62n91+jffZJTP51XVexnzT5lDWK1PyDk QMNpZHEZjVzf4h6mHSnhMyMbdK5d3J6FCES9R4h3pQxKFoXEP88XjrBtoRKwO5BUyrAB EOuKyMjQ0vxLLBar2O0wX6aYiB74dq92QSqN72zSp9Fcb/P0x7jHGOr3Yoz3ODD2qiR3 vkCw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ber61nCfGX/LBYmzLblmZwxpl0GZA9+O2Yw5fYt8Kvw=; b=vzBjwUp+xLo1MdwT6G+1xmz6NCUUVKE/lEE9R3Bs2WtkGmc+U1CiZFJBDYd6zr9dvd 3l9waDnNOJDaUNy9EZnbnrV61KIQ6PCiQb059b8rNF+8/u84rWCVP1cVifNpwcdy48+J arNjhxi0QCvQM26H4BuftTE6DGSiCPyOOgWzHdnzf6mXuvij2yloQ4wAZtFdPM5fRv2l ehVheiOx27Yqx+I4OGaEzQ7dxkCdFoBK0duAYeOYdkCdVqoqaD0nIIJAYTlCGHbNHYhd tCXzB4+rg3LgpG3a2O0Zi+t8ebjHPk21xZjOjXpk/PHxgfyM0L+AYZic1re2tIBVQOhb kcRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="deR4l/Sv"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id cz6si3667822edb.142.2020.09.10.00.08.52; Thu, 10 Sep 2020 00:08:52 -0700 (PDT) Received-SPF: pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="deR4l/Sv"; spf=pass (google.com: domain of netdev-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=netdev-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730425AbgIJHIq (ORCPT + 9 others); Thu, 10 Sep 2020 03:08:46 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41762 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729942AbgIJHBP (ORCPT ); Thu, 10 Sep 2020 03:01:15 -0400 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA99DC061371 for ; Wed, 9 Sep 2020 23:55:26 -0700 (PDT) Received: by mail-wm1-x343.google.com with SMTP id e17so4479630wme.0 for ; Wed, 09 Sep 2020 23:55:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ber61nCfGX/LBYmzLblmZwxpl0GZA9+O2Yw5fYt8Kvw=; b=deR4l/SvWidt++EwWJEQ0E9qOniHgPvaCffVrMJK8v/IkYr3EfA7i5GWTZFOvow8A8 gWMvJTMbMWprCF9pH3UNP7lfNeJkZTp3PbFgwKJrGah9//3ZkFntHpJzAwwIYhXORLrk An8/+s0JbkXPgKVaRPMGM4N1vuMZAV4n/+b8vfSKXXxaTUpLSq8qyMxoCJxh/mZmnkq8 X4M2JwoZRxjxPrTTGq19Ro1u8mDeHofCGKR3fyNx4u/SDL8IdwtT23FHYzaIARk9TRnV 4300x88RRXrgQZxU8pQdD3mR97xYnLNH+UlP8vBbVvvIOwa1nt5I2nUZ/V4A9ZM9a+TY 14IA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ber61nCfGX/LBYmzLblmZwxpl0GZA9+O2Yw5fYt8Kvw=; b=MhoOTdOwtkuDziggZ6ZlseX5CuL+TUXJR1TfKsKNGQoEzbb2vOGgQoLZYjAmSZXNYu feezWwovTWahqTjjx6M1X1nbJuDMHlIMsJ3eP/+rA4d/AL+BdllLMUBUJumx2b+NIKbk 1Yv01u6pJ7/faV8XvZEjbBYsTdhpDYFDnRjoW/qrKUyJEA+3JQ9LKPTQuchsYEb/BTiB c5bKwGp1QdNYyk3WJzor6YMAWzup/4hZeVkYjlB4Mi0oPowoa3vmF8p/A/4qjRFSGa9Y G/9y04Rf9hDrYoQJQyjwPufAlUPjr0dIskC5tx2e6doooJ8KeBuoYJ93gQjgKEtnGbA8 X0mw== X-Gm-Message-State: AOAM531vapVnKZv8ZsyiTEcpVUAkGJepBSHYp4B9dNznAbp3mCPczSDS s6s43VCIlFb3tBJBvu2IXnixjg== X-Received: by 2002:a1c:2bc7:: with SMTP id r190mr4663735wmr.116.1599720925509; Wed, 09 Sep 2020 23:55:25 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:25 -0700 (PDT) From: Lee Jones To: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org Cc: linux-kernel@vger.kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, Lee Jones Subject: [PATCH 28/29] brcmsmac: phytbl_lcn: Remove unused array 'dot11lcn_gain_tbl_rev1' Date: Thu, 10 Sep 2020 07:54:30 +0100 Message-Id: <20200910065431.657636-29-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200910065431.657636-1-lee.jones@linaro.org> References: <20200910065431.657636-1-lee.jones@linaro.org> MIME-Version: 1.0 Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phytbl_lcn.c:108:18: warning: unused variable 'dot11lcn_gain_tbl_rev1' [-Wunused-const-variable] static const u32 dot11lcn_gain_tbl_rev1[] = { Signed-off-by: Lee Jones --- .../brcm80211/brcmsmac/phy/phytbl_lcn.c | 99 ------------------- 1 file changed, 99 deletions(-) -- 2.25.1 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 7526aa441de11..5331b5468e148 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,