From patchwork Thu Nov 26 13:31:40 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332949 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp147929ejs; Thu, 26 Nov 2020 05:33:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJx3dMVmx/AzOhQhBXUzxTjVtZUI42VF757T0EkhPBoO93bWc3J6El6ZLlOKCG/BVR5UJqKe X-Received: by 2002:a05:6402:658:: with SMTP id u24mr2557005edx.27.1606397605490; Thu, 26 Nov 2020 05:33:25 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397605; cv=none; d=google.com; s=arc-20160816; b=nWSiC5X/Dmd+Gk0fnw7uujJibUXiQutrXW84WJAVuMEkx1dG2nas7/U+Q0G9O3bUED Y8cUJtclYHdE7Q8VP6jvpNc46zUwB5ynsSmqu+epsIaTR9FWKQB9ALKqxqVlq9tFGTRq bLUAlbab3/O+TQPNr1Jgw2wSVULploWXNGJp+LjIJrK+Fc3TzWYHROOruDawIsm81iuE We+8jpQ32gN48MO/oy0oFKItN09s1QBNP6SO9AUK1qoJ/Ga2liav0n+zYlj7Fv81rld7 uZlWY+6N2dH7MImfbMcNXbASY98usEybDlW4Zsc1/PoSqxdqF69BBhxrZpzis18HIaXr RBYQ== 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=+vFZOkUefLCl7nJCk+wo/i30e9zgv5BRI5+nbv5AY5Q=; b=xLm57o0lp2i/Zt1D4JvvXrt3+hOgyP6//qwaZ97UhEPXONRg+rPsLHDcd02bd4fjHe 6U1BFgvyhHRBQ9H/eds+f4pFKYlBt4KVLv6VXjT4prhlF95E2VdcBa6Slsiad+uouyG1 QenZoBQ4KTLYRnDCaUvcUvZbrYsWq1pJrlYRF4zuKqOJ6S3mZrrx9ljyNjurr7qr11e6 LAOGm6wSjTEaO3LJKqV/h2zQJgajWSsTVHMgr0AwR371FOuRWzj2LO9SGy5fawvxIXyb yvGf1aGJG8yzjOOUbxW18BwnmuEa3SxNvaseFe+2UtWKbR7mH1C09okR3wvwSIZr8w80 BktA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=kjVrW8dh; 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 q15si3191310edr.58.2020.11.26.05.33.24; Thu, 26 Nov 2020 05:33:25 -0800 (PST) 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=kjVrW8dh; 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 S2390238AbgKZNcH (ORCPT + 8 others); Thu, 26 Nov 2020 08:32:07 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390162AbgKZNcF (ORCPT ); Thu, 26 Nov 2020 08:32:05 -0500 Received: from mail-wr1-x441.google.com (mail-wr1-x441.google.com [IPv6:2a00:1450:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B47D3C061A48 for ; Thu, 26 Nov 2020 05:32:03 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id i2so2158207wrs.4 for ; Thu, 26 Nov 2020 05:32:03 -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=+vFZOkUefLCl7nJCk+wo/i30e9zgv5BRI5+nbv5AY5Q=; b=kjVrW8dhiO8nZ52TeUAv9+gDBak/v52Pu4Jx7mojNyf/YW4ukLxMS81piFZUzkjm8U IDUSfX430q01/MpPLislyS6R3lSNeyE8dKk7wYA69rH+T+JFkps+XUA4JEw+BhX24SY0 Kzob0dGLZsEiEZq4ZPMJCLt9VyY6etSnfvwBJElAznIPXmBwn4h+fpzGyjGBvfuM+FT9 JbqtrS5QGq019isdVJgoT0GsdzJsf/SvSWXeTdqi0LX+QGOhapAgkXfJTSC9M6ipuUDb KR7y+Dcv1NV3fQsG4zumxkGKSjRuE/XcF3fTVK9mir/IKGn1bW/h8f03h9FxyN6Gpcpb QoPA== 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=+vFZOkUefLCl7nJCk+wo/i30e9zgv5BRI5+nbv5AY5Q=; b=ZFi+Hz7L7vyt7fLIkSS0LO505dHR35r8wy+1dO2QqkPh3dZlOwvd/wNfnH5nW8fZ47 i2ROBendYiz6I6vidEQ6Lh7lvhNYZC4lmlAp2P0uDqjJNHC+2apbXQ4BADPbA/vNlRqo 36B1sCxAZUgAwx5pXDOcX7G297EAnOzJYQ7f6sCB9uQ8WLUp502A7efjbRlpshUFRCrE ndm5sbIS2U6+Ure3aO8WhPvPFPY5EgdQmegdaNV/PTnHRdeAKzbhCMbgoYlO1MJMwYL+ n9u/8zOOLv6wYgJekcag50B4cCrv7GE9XnyRau+R7indXXnfx+MZAAzzZUMi3y0YrZ7m rdlg== X-Gm-Message-State: AOAM5307WP2WGR04cw5oyTeGSzliAE7eTSlaCTC0WnTCgmdeVwftbrnx 7un6Yywoy+2LmTbn0IoEcx+kiG7+nCFTM9yV X-Received: by 2002:a5d:654b:: with SMTP id z11mr3804664wrv.291.1606397522484; Thu, 26 Nov 2020 05:32:02 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.32.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:32:01 -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 05/17] ath9k: ar9485_initvals: Remove unused const variable 'ar9485_fast_clock_1_1_baseband_postamble' Date: Thu, 26 Nov 2020 13:31:40 +0000 Message-Id: <20201126133152.3211309-6-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: netdev@vger.kernel.org Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar9485_initvals.h:1009:18: warning: ‘ar9485_fast_clock_1_1_baseband_postamble’ 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 --- drivers/net/wireless/ath/ath9k/ar9485_initvals.h | 7 ------- 1 file changed, 7 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath9k/ar9485_initvals.h b/drivers/net/wireless/ath/ath9k/ar9485_initvals.h index bdf6f107f6f1e..4afe52c0456e9 100644 --- a/drivers/net/wireless/ath/ath9k/ar9485_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9485_initvals.h @@ -1006,13 +1006,6 @@ static const u32 ar9485_1_1_soc_preamble[][2] = { {0x00007048, 0x00000002}, }; -static const u32 ar9485_fast_clock_1_1_baseband_postamble[][3] = { - /* Addr 5G_HT20 5G_HT40 */ - {0x00009e00, 0x03721821, 0x03721821}, - {0x0000a230, 0x0000400b, 0x00004016}, - {0x0000a254, 0x00000898, 0x00001130}, -}; - static const u32 ar9485_1_1_baseband_postamble[][5] = { /* Addr 5G_HT20 5G_HT40 2G_HT40 2G_HT20 */ {0x00009810, 0xd00a8005, 0xd00a8005, 0xd00a8005, 0xd00a8005},