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: 11933883 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-18.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8CD25C83020 for ; Thu, 26 Nov 2020 13:33:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 4732621D46 for ; Thu, 26 Nov 2020 13:33:19 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="kjVrW8dh" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2390205AbgKZNcF (ORCPT ); Thu, 26 Nov 2020 08:32:05 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57046 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390162AbgKZNcD (ORCPT ); Thu, 26 Nov 2020 08:32:03 -0500 Received: from mail-wr1-x443.google.com (mail-wr1-x443.google.com [IPv6:2a00:1450:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B42A4C061A47 for ; Thu, 26 Nov 2020 05:32:03 -0800 (PST) Received: by mail-wr1-x443.google.com with SMTP id r3so2178269wrt.2 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=spBagsUhrybLQR1L7WZqO/DuJfgAAjadfqmdxRPFtRTiNb50CqYQ+A7ngKDE4pFW7u ZJhPfyIyxUoxVQwcipWZCBcjpG690972LS5uOJqt3pzISHrmSOs2BvTrBNSMJJZctGz5 2IIRT3So3v0zD896ID739KSX+YDEUilP3hrEoxKDARTrwIEomEpaAwNIJQ6xbqsI0Ofd 6cxvlZHKWC/q8Qk0+I3SxhYRAY3uM/u60/UILOpGnW4oUY0qlnrqvGzZ1n8XglCFsTN+ STaDfDnurGJUqmpKYfI8k1NKPgoudTJnJ3/S4hQ7WrxJcXxABnqFanQl3Mo7kW3altbS RHoQ== X-Gm-Message-State: AOAM532wj2R80YrwXdqc7gDMlLWXpgU/l+aKXfFroZkgYWnGceM8ZQ1A B9KbTuiKJN0iUkvd5J7nrTkqaA== X-Google-Smtp-Source: ABdhPJzc142GrUm38WbUb+V8FN+5I7D047T9oeIlEft7/95j5iqGh5CGV/eDsji1tke2f7iX62RrFQ== 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: linux-wireless@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(-) 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},