From patchwork Thu Sep 10 06:54:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 249556 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp471550ilk; Thu, 10 Sep 2020 00:05:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylSUHcUfZLxv7nRQ8GoY3AhW46XNWoVhYbbfQ+jIrYYmaJvFJiiRowNwpA1Mk9Tvwabhoy X-Received: by 2002:a05:6402:45a:: with SMTP id p26mr8270901edw.8.1599721511941; Thu, 10 Sep 2020 00:05:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599721511; cv=none; d=google.com; s=arc-20160816; b=zCwgXU2d5rrU8CWEsXgN+HuhYK1YU3j1KIvtlDo+jC1kERMU5RTNPuA7phv0uGzhZ2 UsLgQMGpfmTzHj471f2QlTV8BSWv2yPbT5Nfn5ozc1XgfDc5OTolOxrX6DmcdQy2CEyP +tP37F33zjUhIarPb3wA0Yrv0YVXy6auvvWB4sBtA57sIOFtlwi2ClKtBXBJ+OUo5BEC OA2PW58kbkpXS6w8od8kxP9m1pw7G6RKfyQ5jgkQf1TnDztBoJiui8wPE370AvjJmh7q MAvqiDA/KN1zFPWf0XLKMQc00F6eY85LjTtY1ZQ5fZXELwHhbdQla0STwjtIhjGZNLL8 8ukw== 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=/zDMT6nbFqbhZHba3WX8w2cu4960tHUb5zkPcYbpeIM=; b=Mz7rJgUNk9ZdguZtz6nEp1ZA2ouPxLrRPKxG0YLUsthY/tllVd+zm0LER3ADIb5XMO dw20Nbtr1YgjShOuLeFXMWfdIHPEoCjnQXXWdwCQhRlfWJVmKjdIWomlbTymiWpwb3Ac 0BLg7Xk+Ee+4snl7Joflv5st+oiVkwP9meHqhnY1Ak4gtP1EYiSIu5xWSMC21WS8b9l5 QX82u5eUB04IwbAvj/zU4u/+mrrm88Mua4yeSj70qA6Zg1LF7Fq37olJcz3zN7VlyYLs btAKhOtMKgUtKq/sIcUkHIBrawi0Pg+GJMFCUO47xwxXfJrVjBJ2ssqrDzlEwINoB++2 EckA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=tL6+bIkh; 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 ds18si3104474ejc.745.2020.09.10.00.05.11; Thu, 10 Sep 2020 00:05:11 -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=tL6+bIkh; 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 S1730275AbgIJHFE (ORCPT + 9 others); Thu, 10 Sep 2020 03:05:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730271AbgIJHBw (ORCPT ); Thu, 10 Sep 2020 03:01:52 -0400 Received: from mail-wr1-x442.google.com (mail-wr1-x442.google.com [IPv6:2a00:1450:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 00037C061374 for ; Wed, 9 Sep 2020 23:55:27 -0700 (PDT) Received: by mail-wr1-x442.google.com with SMTP id x14so5379128wrl.12 for ; Wed, 09 Sep 2020 23:55:27 -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=/zDMT6nbFqbhZHba3WX8w2cu4960tHUb5zkPcYbpeIM=; b=tL6+bIkh8G7HqBgucCbpBctHS9j+I2AJgR6G49WHHWrcfJGS1GWrRY+zOduX5bNnmp XwEMjo52Sr2j5+KKnUGpRdkT17kCz542Em6ZWz+F67g7UjluqnoZCLUtOIQQoUsdZ6yx 11//MDz21fLJyAhQRayi5tFo9NdrADRlwjbuMrwLTcoN5ItXF7fox9TKwZFHHGVcxrHK EoCtUSwP7GVeYUAc6r0t/CpQGNqS83EmDot6qao2ORB8J1cDaolslhu2hV5s0HRSt1Te v/symznRHA4ChYd/6CMxuy7KsAM+MwhH7v+BSxZHCpJJcxroS12fStSuVMKNKeN4ltRW e28w== 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=/zDMT6nbFqbhZHba3WX8w2cu4960tHUb5zkPcYbpeIM=; b=rcsj06oaoQLDM6XZTkilnBTQxVCLBp+As2iBa4+9cOBNaWztcR9sILivcMzkis1yK9 xMGofLX4tY1WBqO6ELoqD9y9Ulpe1BY5cosx54uc3QVGqT2Jnd6YMSYDloVRgfkP6rtr 5ROjJZnQRKv6RRUkCmMOAr5u+jL5JlTa58sIB9YaVGqtFKh+Y60qP6BVftj3XVFRDoya q9HhJHs6gWkxwLu0gJmRcQCV2P8JEr2UCVjLHOrYWUGsdWawcKny5J9yBOi6vgZZ1K1b 4aV0uJ2Z0nArM8Zcf5z0XW6CBuLpRPHMyesxg8gMGN0UF2a++U5EvVQ4SJ3Ws/2H8GbQ WCUg== X-Gm-Message-State: AOAM530hLW/uMp9+ZQ8UbiEPf+9srdKJVXjAiLGlm7xZY9yati0DW7pI 0TKagLlgzFmhn5pUOxeqPWeVgURgDnHRBw== X-Received: by 2002:a5d:43cb:: with SMTP id v11mr7886927wrr.188.1599720926684; Wed, 09 Sep 2020 23:55:26 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:26 -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 29/29] brcmsmac: phy_lcn: Remove unused variable 'lcnphy_rx_iqcomp_table_rev0' Date: Thu, 10 Sep 2020 07:54:31 +0100 Message-Id: <20200910065431.657636-30-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/phy_lcn.c:361:25: warning: unused variable 'lcnphy_rx_iqcomp_table_rev0' [-Wunused-const-variable] struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = { ^ Signed-off-by: Lee Jones --- .../broadcom/brcm80211/brcmsmac/phy/phy_lcn.c | 55 ------------------- 1 file changed, 55 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c index b8193c99e8642..7071b63042cd4 100644 --- a/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c +++ b/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_lcn.c @@ -357,61 +357,6 @@ u16 rxiq_cal_rf_reg[11] = { RADIO_2064_REG12A, }; -static const -struct lcnphy_rx_iqcomp lcnphy_rx_iqcomp_table_rev0[] = { - {1, 0, 0}, - {2, 0, 0}, - {3, 0, 0}, - {4, 0, 0}, - {5, 0, 0}, - {6, 0, 0}, - {7, 0, 0}, - {8, 0, 0}, - {9, 0, 0}, - {10, 0, 0}, - {11, 0, 0}, - {12, 0, 0}, - {13, 0, 0}, - {14, 0, 0}, - {34, 0, 0}, - {38, 0, 0}, - {42, 0, 0}, - {46, 0, 0}, - {36, 0, 0}, - {40, 0, 0}, - {44, 0, 0}, - {48, 0, 0}, - {52, 0, 0}, - {56, 0, 0}, - {60, 0, 0}, - {64, 0, 0}, - {100, 0, 0}, - {104, 0, 0}, - {108, 0, 0}, - {112, 0, 0}, - {116, 0, 0}, - {120, 0, 0}, - {124, 0, 0}, - {128, 0, 0}, - {132, 0, 0}, - {136, 0, 0}, - {140, 0, 0}, - {149, 0, 0}, - {153, 0, 0}, - {157, 0, 0}, - {161, 0, 0}, - {165, 0, 0}, - {184, 0, 0}, - {188, 0, 0}, - {192, 0, 0}, - {196, 0, 0}, - {200, 0, 0}, - {204, 0, 0}, - {208, 0, 0}, - {212, 0, 0}, - {216, 0, 0}, -}; - static const u32 lcnphy_23bitgaincode_table[] = { 0x200100, 0x200200,