From patchwork Thu Nov 26 13:31:41 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332961 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp148244ejs; Thu, 26 Nov 2020 05:33:44 -0800 (PST) X-Google-Smtp-Source: ABdhPJwqMSE3hsL2ANYhdBEVvOMQod3ap8cUcXfSHxyNGYwmMHBMNwPbJ4OwCmXfqnsh9XUfIFzH X-Received: by 2002:a50:cd0a:: with SMTP id z10mr2550120edi.223.1606397624533; Thu, 26 Nov 2020 05:33:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397624; cv=none; d=google.com; s=arc-20160816; b=xRF/5guCQv30qKNS+/t1O7v5btLMjLHDfUNT0n5VgVhtbB1A0nH9b/FW5wTzTo4L2N bhfi1BumCDvsUBWF+BzMkwX+pbvfY09lUAJ7JCgfl7wgk4DE2QlbB4X6bFd0UT0PyBSl nTqOEpnpkDhTAikjM2rSe7NOeKSBNVEG4PrA2Rduhral73uSW3rsxBXPiSFWUhDecqdt W6VxdmNhJSmRHlM2SA7oH/858/zkkBRiz+T6knC9GOPO8Fp5d8YP7E4rdywhnN7PsQCy kIEry2Ao/D0TQxUjidcKiGhucKe8vP8Ua0j8w17I5HHzPtCGm3l5l5sC5a43p/wkkf1c yPvw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=64CEfunw0Swc50bQt2+cwn7fqQh5uT3oHRs6EoyWU9E=; b=scgc7abpPQpCNZMwiFfy8BMJPtlTtX6mKSscSTEe+1edk3N2LqCP61ZwKTWdEL/Zvl 6OSGA75qNosiZZMNfxY5VMSjJVamEok+PkRWiLRUCB/OCDTo7z9CIfXx+v3Tsm3RfOmH FPaW31O4jASoCaC1dUMj6AiOeFOB2QLEFqJ1S/iXaPwdbVSG1nJlPZ3pylhxWVaBsFtv 5Tz1+mtUC2jQLE9jQPbRRvOf85y28V7Ic/0EYiIx+fB2gb/1B/SmV4OdqWSBnXuKfQwa fgqb3aHSLKWQ0BxOzemZBVGT1B2gvjRviwG0CdY25iY6H/sxJh9uD1QdG9VTschhHcqt 50tQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=pOmWFkUH; 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; 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 q15si3191310edr.58.2020.11.26.05.33.44; Thu, 26 Nov 2020 05:33:44 -0800 (PST) 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; dkim=pass header.i=@linaro.org header.s=google header.b=pOmWFkUH; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390423AbgKZNdK (ORCPT + 2 others); Thu, 26 Nov 2020 08:33:10 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57058 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390219AbgKZNcG (ORCPT ); Thu, 26 Nov 2020 08:32:06 -0500 Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CF44FC061A04 for ; Thu, 26 Nov 2020 05:32:04 -0800 (PST) Received: by mail-wm1-x341.google.com with SMTP id s13so2412092wmh.4 for ; Thu, 26 Nov 2020 05:32:04 -0800 (PST) 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=64CEfunw0Swc50bQt2+cwn7fqQh5uT3oHRs6EoyWU9E=; b=pOmWFkUHC7CzRoW6X95WZ7ZM6K89FTfon68au1KVLJvq43SYoT3PggrU+fCWC+BxVH joJHsp+kLds5GXyCIlQpDs/tY4cvnuUbK2ECYQbpUifxbJelCJPq/w//4Xq1JuObVNYb MdYyJpzW0GQ9FGIPPexJbsh/N208a2/aeozAj8MHCqT5TsrIMrxUGn1dgeandT/+xCSI l/P/bXaz6rU+bvXzM17w22rr9WJg+xhmZVixK+35pOMEDeoAAx23u7OQ3/T9w5tnSnYH VcC3D2I1mato16v/TV4NnMZ78yZy9TtnKHNwc6zS0O8bA1NWsBEp8kzFjxLezNmeiETj lx1g== 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=64CEfunw0Swc50bQt2+cwn7fqQh5uT3oHRs6EoyWU9E=; b=ptV2q7Qpkn4TeTpvx5YN0memhgk6J+4KW/FzdWaqqgnLmvJDkBVYu7qdIUmEd2+cSn eGaDYxmksrMyi4VaXIazgEhRdIUu6emd6LUEqvgX1HFth1fvk0vVYDkeqPDF790LiTLi fRW3TTqWsttKp9iS2qKuo2VxYEP83l41ZCBj4ddRm00YfRX2AF35tmPqF+tovMey5QWQ XYyCjPWMASyiBTDgt5WTaq3VATRv9KHAsTsYIxEmlZkuw5q3423ez0aTOY7DSWXk1QT6 mrfAnCa1+zdC91b87dslP7g/cbiUxPu2Q9MdORuroYmEniUIEH2kLqyPqYDfnJp5mbew GJ7Q== X-Gm-Message-State: AOAM532CGLKwlcXfXOb7DVe5/2KFv/M5Q9xMJ/IcKVtuAwfPz1l6loa0 txmfdki+5PsE2kttvZbJxfowWw== X-Received: by 2002:a1c:6382:: with SMTP id x124mr3408119wmb.46.1606397523570; Thu, 26 Nov 2020 05:32:03 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:02 -0800 (PST) From: Lee Jones To: lee.jones@linaro.org, kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, QCA ath9k Development , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 06/17] ath9k: ar9003_2p2_initvals: Remove unused const variables Date: Thu, 26 Nov 2020 13:31:41 +0000 Message-Id: <20201126133152.3211309-7-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201126133152.3211309-1-lee.jones@linaro.org> References: <20201126133152.3211309-1-lee.jones@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h:1734:18: warning: ‘ar9300PciePhy_clkreq_disable_L1_2p2’ defined but not used [-Wunused-const-variable=] drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h:1727:18: warning: ‘ar9300PciePhy_clkreq_enable_L1_2p2’ defined but not used [-Wunused-const-variable=] Cc: QCA ath9k Development Cc: Kalle Valo Cc: "David S. Miller" Cc: Jakub Kicinski Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones --- .../net/wireless/ath/ath9k/ar9003_2p2_initvals.h | 14 -------------- 1 file changed, 14 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h index c07866a2fdf96..16d5c0c5e2a8d 100644 --- a/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9003_2p2_initvals.h @@ -1724,20 +1724,6 @@ static const u32 ar9300PciePhy_pll_on_clkreq_disable_L1_2p2[][2] = { {0x00004044, 0x00000000}, }; -static const u32 ar9300PciePhy_clkreq_enable_L1_2p2[][2] = { - /* Addr allmodes */ - {0x00004040, 0x0825365e}, - {0x00004040, 0x0008003b}, - {0x00004044, 0x00000000}, -}; - -static const u32 ar9300PciePhy_clkreq_disable_L1_2p2[][2] = { - /* Addr allmodes */ - {0x00004040, 0x0821365e}, - {0x00004040, 0x0008003b}, - {0x00004044, 0x00000000}, -}; - static const u32 ar9300_2p2_baseband_core_txfir_coeff_japan_2484[][2] = { /* Addr allmodes */ {0x0000a398, 0x00000000},