From patchwork Thu Sep 10 06:54:27 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 249554 Delivered-To: patch@linaro.org Received: by 2002:a05:6e02:ecf:0:0:0:0 with SMTP id i15csp470713ilk; Thu, 10 Sep 2020 00:03:50 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwygHPdsTIxUw0dl6JohvfBBINhO8mrc1oy3uBuosX6RsVcV5T/KQaJtx4dQjeUI0OxIxL1 X-Received: by 2002:a17:906:d936:: with SMTP id rn22mr7396188ejb.4.1599721430348; Thu, 10 Sep 2020 00:03:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599721430; cv=none; d=google.com; s=arc-20160816; b=ILjKuYEONqKqXuMyQ6AAxoBh52jk8lXLC7cMPwtmTe+GLaY4qLLHMsS4v2KGvw+Xzs UQgxlzL4IMSjA0421+fbd92rlpVTBZzhAfnPo6yQ54k/X6UKYpZS1J70ghbxWcK9A2It XAGlqtRpBtEWCT3+Yy/guQtE3iNNRVt45ftlJlm7eTBB6d4BrP/xgxUBbQVlJOANJJ09 sWOR/9853+ZfY7khMFonkqjY/hdPgr5vpQzAqbyXvv/wTZMw06vSgnz6x+Wlhja204tv GVE5BX6xphUv6MzFqHBiFDf6QKSiUcTQ0YE9kqPaz98coGzufTkxKTuTuxGxYiRszRS5 YzyQ== 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=WVfVHRbfLs77xvEowdNmRYJl1Eqf3t8uGBw9b5yOc7s=; b=mlpa90KCfHcSfJqhbsfdPGQAnH5Lm/oDjNXD4O+MxQP8YT0e8D1ILpA9ZIab3kRZlk Ms9Kwc3MHESEdaDykNkWRVoBkhj2pYSqedrYyq7taPTfAzOvULSTO2RsPfEKunYpti15 60XSGX9g5dt8GlX241wp/6zerRpGKA5kzycbTBo431L0zHQp4hagTtQTA4mE4jF2nAGS eHMGUXHu7SPR/d3EppM6dMYIfWpdzlFi/gcjOp13sEPhRAV2HHiCqF+nlAlaoO4atTz+ WVzpQweOhPE4GebVVkeeaLDmTT63RtlHEGJmU7JESr1ZfkbAjSW/Gjxpn6ThZ64SKjue Mssg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=trv3TSNs; 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 b23si2980899eje.20.2020.09.10.00.03.50; Thu, 10 Sep 2020 00:03:50 -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=trv3TSNs; 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 S1730268AbgIJHDj (ORCPT + 9 others); Thu, 10 Sep 2020 03:03:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730312AbgIJHAy (ORCPT ); Thu, 10 Sep 2020 03:00:54 -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 9E9F8C061369 for ; Wed, 9 Sep 2020 23:55:23 -0700 (PDT) Received: by mail-wm1-x342.google.com with SMTP id q9so4486100wmj.2 for ; Wed, 09 Sep 2020 23:55:23 -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=WVfVHRbfLs77xvEowdNmRYJl1Eqf3t8uGBw9b5yOc7s=; b=trv3TSNssv4jT0t36HHkekyc5oQb9OrM4SsI9V82hbXUfKMjBOl87eNt5/GlaRiJ1N b4CNDROwIGksCc9TQn1MhsscUtgT/gCzPhxxv7ckxHZzRvTEQZQRI4+UyxSQYnsefY4g 3atu7eH/kqNeLVaFi3AswTh+b5onrTfyRZT/tX7cIE1CB6xhSCPAHi7uHcYpHkgtNqYe s6Oz2ylbPHLbs+GIgOUP9cmpxIPC0uj8VvmFFHqDLm4uTLp1PvIA1JvhpPmFICzV5CAJ hydx8KqkleMdHQbi2lCMJWP3Air13xuIRIVXhXyjZm4+RYumUgaXf4MZQMY64yV19jso kgdg== 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=WVfVHRbfLs77xvEowdNmRYJl1Eqf3t8uGBw9b5yOc7s=; b=PPMb+k0gpa4TgVHytCTXzrA2yA6MQTBEn95/ZKOQq3ohoM1MqLdhnYkE5sbRp9mpxC 59TplpEI4/uf4x+YnkAcFnRHIes12C28+SwAW1tS5V3/uup5+6nM9q5DEi6dx84HmACS pr6ioGPj+jcVvvJV7SP97GSR+oxhg9D4Wp6zcaG+Vyem8snUxW98ZQo42t4i9wA7UhgI ffBCs6yzBWTW3TG5uaBYyQbsURvTxQH+8Yunlap6ZGYJFhFZ6aa+Y5He+eKwB9tg5gDq t+D91KFXZwriNQXEv8qLJC+Pa+0VF5A0VboI5CO7uTyMM09J0BFzR4l686ujMLKbqZjw Ug0A== X-Gm-Message-State: AOAM532lNA3nYVgRRUDxUiUqxXPv3vNHjpdhzOBxhN77DBl3oxKycRAj vUP371PtXAPRU12t7J05DnW14A== X-Received: by 2002:a7b:c44b:: with SMTP id l11mr6834265wmi.52.1599720922334; Wed, 09 Sep 2020 23:55:22 -0700 (PDT) Received: from dell.default ([91.110.221.246]) by smtp.gmail.com with ESMTPSA id m3sm2444028wme.31.2020.09.09.23.55.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Sep 2020 23:55:21 -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 , QCA ath9k Development Subject: [PATCH 25/29] ath9k: ar9001_initvals: Remove unused array 'ar5416Bank6_9100' Date: Thu, 10 Sep 2020 07:54:27 +0100 Message-Id: <20200910065431.657636-26-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/ath/ath9k/ar9001_initvals.h:462:18: warning: ‘ar5416Bank6_9100’ 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/ar9001_initvals.h | 37 ------------------- 1 file changed, 37 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath9k/ar9001_initvals.h b/drivers/net/wireless/ath/ath9k/ar9001_initvals.h index 59524e1d4678c..aa5f086fa3b0b 100644 --- a/drivers/net/wireless/ath/ath9k/ar9001_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9001_initvals.h @@ -459,43 +459,6 @@ static const u32 ar5416Common_9100[][2] = { {0x0000a3e0, 0x000001ce}, }; -static const u32 ar5416Bank6_9100[][3] = { - /* Addr 5G 2G */ - {0x0000989c, 0x00000000, 0x00000000}, - {0x0000989c, 0x00000000, 0x00000000}, - {0x0000989c, 0x00000000, 0x00000000}, - {0x0000989c, 0x00e00000, 0x00e00000}, - {0x0000989c, 0x005e0000, 0x005e0000}, - {0x0000989c, 0x00120000, 0x00120000}, - {0x0000989c, 0x00620000, 0x00620000}, - {0x0000989c, 0x00020000, 0x00020000}, - {0x0000989c, 0x00ff0000, 0x00ff0000}, - {0x0000989c, 0x00ff0000, 0x00ff0000}, - {0x0000989c, 0x00ff0000, 0x00ff0000}, - {0x0000989c, 0x00ff0000, 0x00ff0000}, - {0x0000989c, 0x005f0000, 0x005f0000}, - {0x0000989c, 0x00870000, 0x00870000}, - {0x0000989c, 0x00f90000, 0x00f90000}, - {0x0000989c, 0x007b0000, 0x007b0000}, - {0x0000989c, 0x00ff0000, 0x00ff0000}, - {0x0000989c, 0x00f50000, 0x00f50000}, - {0x0000989c, 0x00dc0000, 0x00dc0000}, - {0x0000989c, 0x00110000, 0x00110000}, - {0x0000989c, 0x006100a8, 0x006100a8}, - {0x0000989c, 0x004210a2, 0x004210a2}, - {0x0000989c, 0x0014000f, 0x0014000f}, - {0x0000989c, 0x00c40002, 0x00c40002}, - {0x0000989c, 0x003000f2, 0x003000f2}, - {0x0000989c, 0x00440016, 0x00440016}, - {0x0000989c, 0x00410040, 0x00410040}, - {0x0000989c, 0x000180d6, 0x000180d6}, - {0x0000989c, 0x0000c0aa, 0x0000c0aa}, - {0x0000989c, 0x000000b1, 0x000000b1}, - {0x0000989c, 0x00002000, 0x00002000}, - {0x0000989c, 0x000000d4, 0x000000d4}, - {0x000098d0, 0x0000000f, 0x0010000f}, -}; - static const u32 ar5416Bank6TPC_9100[][3] = { /* Addr 5G 2G */ {0x0000989c, 0x00000000, 0x00000000},