Message ID | 20200910065431.657636-25-lee.jones@linaro.org |
---|---|
State | New |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp469854ilk; Thu, 10 Sep 2020 00:02:33 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzL0+d3PbeEFSHk0kWElejy3lVM8PPbcNZcej7dB5PLY1BUDSXshDar6z8s31w9uUC6sbMZ X-Received: by 2002:a17:906:3e90:: with SMTP id a16mr6919698ejj.363.1599721353806; Thu, 10 Sep 2020 00:02:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599721353; cv=none; d=google.com; s=arc-20160816; b=Fxj9gVbq8j+d7g5JNepIHzqAvnsfDTdMx08dW8dGObEyaOw09SqHnRjD3BJh4+a5gp J1sxBHHd596yiFl/G3Smy73EC4cwBlXBL6xImaVgNqTbK0li4SRsD0OFgLGBFX5aF168 yE8czjzszjytkfEaX0adwcA0TVG891OqktGiXhiSJTeeA3TyXm1hzS01UtZVqVvAzlZD xyxFAZkmng14hjWqTI53hr10QKAPc9RWtY7B3cb65lE3vhrCHgEkA48XPumHA3V4cd1r VnOczKB7UvghmKY8tyAm0fXSXsUrhADNCqT8+mz/XENEIJPmBqI8CpHyZJkNNxYlVk8E 4vgg== 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=1sh6GJ0mJWJb3ICmo91l9UDo6bvtBy9zVj1QpKnJ7Ig=; b=Ib69z7zohvUhlItXs7Wf20qFTDrLCSqsq4Fi937MaMXvfLB6VTV/Aw3tutABMkix9n GqCOYotdJX+Pwig5KtNakw2ULmcEP/y7VUbVP8clIx6RVOtm4CeLU2atCwKlSHp201J5 cgNe7Zos4AoLkmkJU7Zk0fGW8uis5LMHCiSvMoLQBN8KuYiIJ04DZ+DdIjVJ0IJe7Gdu HTTWd0tQwFkCwpeCR2DYOuDul4tpqxAYGpPm4Kwa4W3U8jb+Zc5BNOWHDV2aUFummLa2 S1vmO8ytA0HIqPb7sUA8h4eupoB5M57TaOVLav0WuRviIrschLv4iYo4KIn7R5BgDCsK Fu3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=C4soKIQr; 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: <linux-wireless-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id a3si2969137ejt.659.2020.09.10.00.02.33; Thu, 10 Sep 2020 00:02:33 -0700 (PDT) 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=C4soKIQr; 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 S1730276AbgIJHCH (ORCPT <rfc822;patch@linaro.org> + 2 others); Thu, 10 Sep 2020 03:02:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41626 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730285AbgIJG77 (ORCPT <rfc822;linux-wireless@vger.kernel.org>); Thu, 10 Sep 2020 02:59:59 -0400 Received: from mail-wm1-x342.google.com (mail-wm1-x342.google.com [IPv6:2a00:1450:4864:20::342]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C10FC061364 for <linux-wireless@vger.kernel.org>; Wed, 9 Sep 2020 23:55:22 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id a9so4639578wmm.2 for <linux-wireless@vger.kernel.org>; Wed, 09 Sep 2020 23:55:22 -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=1sh6GJ0mJWJb3ICmo91l9UDo6bvtBy9zVj1QpKnJ7Ig=; b=C4soKIQr+HtIx13rx9qA/15FRHFKVdvspCRsPnq/goUVkiQ4KZNEepatmbLTp2tc3C ctqDXC+sft2sLmaCxPWFVqy1wjtwIvIBpREamtN4rJ/LVvlDdEi2MJu1cNiQSxnQD4VE GgMMRYv2oCxVohRyT3aSUb5j0mD7xM2sZKmpxpCyBm8JAZaFPCCxQQ+bV8NjJKJKx9RI kxwK/4ZD646Lcol5oAd8xIPIhFj1TridIQ0n8S8PuxUHc+2LskD63txFM8mBTn+CzvgY j3bSz3NJOG4J2WrBJaWnu/qLYBGNnrA3NqcKKZsebBbl9Q9V9U/a9z+aLQBwA59U/hBs 56wQ== 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=1sh6GJ0mJWJb3ICmo91l9UDo6bvtBy9zVj1QpKnJ7Ig=; b=kkGUnbb6zha8LIh4rpecSqlYGZEHdxcMgTEVMM6X5QvIfyJjLjw6PbRN+FIUGPsioy XaRug4PdsPYRkoRco+zQw2OY2W8cz13Inpwd1lFPEJbTq1X+ggIuiZJGGSItOHkakjhs e+pMoXrrge8Cb5iswSBqEfd/0aMudi2vudyTE96rbFtaBwTXEpOFO7HrdwbfkpJFn+wD PMGb+zCcU6Vh1bXp9aT3cGfRI4lh+x96mCkv//TRZF+AunzjJDanhBhBHVQzjYsqEPsA NxlvoMHkIDEssuEoJsS3GRQb/Fh+zdM/UVaLVb5twWTk5Eulovf/XHgd6kIjXO28Qmdm gNLA== X-Gm-Message-State: AOAM532eR+l2wzx9oV0v611gUkdQNG1Ayw8LIYWqFDP43jXqLLe5PQh5 4qWRBNFko7C8+gVtsKc+9BUJRw== X-Received: by 2002:a7b:c5c1:: with SMTP id n1mr6617738wmk.125.1599720921171; Wed, 09 Sep 2020 23:55:21 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:20 -0700 (PDT) From: Lee Jones <lee.jones@linaro.org> 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 <lee.jones@linaro.org>, QCA ath9k Development <ath9k-devel@qca.qualcomm.com> Subject: [PATCH 24/29] ath9k: ar9002_initvals: Remove unused array 'ar9280PciePhy_clkreq_off_L1_9280' Date: Thu, 10 Sep 2020 07:54:26 +0100 Message-Id: <20200910065431.657636-25-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 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Sender: linux-wireless-owner@vger.kernel.org Precedence: bulk List-ID: <linux-wireless.vger.kernel.org> X-Mailing-List: linux-wireless@vger.kernel.org |
Series |
Rid W=1 warnings in Wireless
|
expand
|
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_initvals.h b/drivers/net/wireless/ath/ath9k/ar9002_initvals.h index 4d18c66a67903..e01b5c3728b86 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9002_initvals.h @@ -897,20 +897,6 @@ static const u32 ar9280Modes_original_tx_gain_9280_2[][5] = { {0x00007844, 0x92592480, 0x92592480, 0x92592480, 0x92592480}, }; -static const u32 ar9280PciePhy_clkreq_off_L1_9280[][2] = { - /* Addr allmodes */ - {0x00004040, 0x9248fd00}, - {0x00004040, 0x24924924}, - {0x00004040, 0xa8000019}, - {0x00004040, 0x13160820}, - {0x00004040, 0xe5980560}, - {0x00004040, 0xc01dcffc}, - {0x00004040, 0x1aaabe41}, - {0x00004040, 0xbe105554}, - {0x00004040, 0x00043007}, - {0x00004044, 0x00000000}, -}; - static const u32 ar9280PciePhy_clkreq_always_on_L1_9280[][2] = { /* Addr allmodes */ {0x00004040, 0x9248fd00},
Fixes the following W=1 kernel build warning(s): drivers/net/wireless/ath/ath9k/ar9002_initvals.h:900:18: warning: ‘ar9280PciePhy_clkreq_off_L1_9280’ defined but not used [-Wunused-const-variable=] Cc: QCA ath9k Development <ath9k-devel@qca.qualcomm.com> Cc: Kalle Valo <kvalo@codeaurora.org> Cc: "David S. Miller" <davem@davemloft.net> Cc: Jakub Kicinski <kuba@kernel.org> Cc: linux-wireless@vger.kernel.org Cc: netdev@vger.kernel.org Signed-off-by: Lee Jones <lee.jones@linaro.org> --- drivers/net/wireless/ath/ath9k/ar9002_initvals.h | 14 -------------- 1 file changed, 14 deletions(-) -- 2.25.1