From patchwork Thu Nov 26 13:31:38 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 332948 Delivered-To: patch@linaro.org Received: by 2002:a17:906:4755:0:0:0:0 with SMTP id j21csp147883ejs; Thu, 26 Nov 2020 05:33:22 -0800 (PST) X-Google-Smtp-Source: ABdhPJxomtgaHO1a4h0WbjqMPkLdOWKYY9FtgsjJaQFtMaFGHlj3KxAMGFvdTAqzePOXKGnt3Klh X-Received: by 2002:a17:906:cede:: with SMTP id si30mr2618824ejb.16.1606397602534; Thu, 26 Nov 2020 05:33:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606397602; cv=none; d=google.com; s=arc-20160816; b=V74WA9xIv2xibdumP1OXsUCDxrjkH/1jOd7t+zH7JyEqeZydDTh6p2DRa2IVlz8AHi nmrmaTlfk/zg364K5YS800mllAlG+6TMN/4/vyx0YwgL3fQ+U0ZIIxVgUiaeDZRA63nk +8cZxdviIKSE21PZTr+UMOAK5b5DZYkd6TajZn4srQsK84WuHcvdkkKk2zAKm53pfaRH mtmZrIP0HbvaDypn7w2aLvllp8ciBnc0o4TwL6MqYRq3DnHSVot8fx7Uz+7cIzyAuDm1 r+KyJl+w2ATxsjfihkHVAf+a/HG7sNn2Ypr2hvEM4YlVHXQRssSasBdb8ggWDOqoTTHk Q83Q== 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=pe1vvImQ7xpypNGQYr/8kYE+GlHAALRJwr38y3BS0kA=; b=LKXWWDwSdaoKSbBRFmaBH3umXc1/ygv7AjsPv0BZZf/KhYEq0l5l7uNU6esRG6j2iP rLQipjgq7F+v0T7E/BBRapdJkuT1+j0t0DxYalBwIoLnjkhjTWYy2XaoLjWRD8kwF4yw I/96Z2KMXmFwjc82d5C6uGdOXTlIBGl/Y8SeCS9W/iYmtbYBThp+xfA0qGUO9FaJalcp JuPEjCUGrmNSVyMvbl2Gd9ZyQbPkI4ZP1sSnUvM+WASjx2cr46CZQcedzsbeonSm50BW 8fcmmpAJLm7n6kYgRqmo/5/JrZSIBulAJ9P6mTaYGt4YKjp6FoGQR2tr/CSP735xbNuY 4lgQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xBOLAMT2; 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.22; Thu, 26 Nov 2020 05:33:22 -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=xBOLAMT2; 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 S2390182AbgKZNcD (ORCPT + 8 others); Thu, 26 Nov 2020 08:32:03 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57030 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390164AbgKZNcB (ORCPT ); Thu, 26 Nov 2020 08:32:01 -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 644D7C0617A7 for ; Thu, 26 Nov 2020 05:32:01 -0800 (PST) Received: by mail-wr1-x441.google.com with SMTP id k14so2177164wrn.1 for ; Thu, 26 Nov 2020 05:32:01 -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=pe1vvImQ7xpypNGQYr/8kYE+GlHAALRJwr38y3BS0kA=; b=xBOLAMT2rxgj5d8ZVuygANtH/u7cqIQ2rtvXsxN80c1/PNXJdJuE9AHeYuk4sIxvv3 qTwwKuam/qGYC1DCc6FmQ04FVDKi77XAw+D665o0Gr7JSzyerUsJPUwMUM+vrFEPMPeG Wdr266+x9VNUdOvWvukF8kT/hm3/HkIL1IoirrPMVNeJKDGMU+E3QlsY43rOkgsQs6U9 Z3nNnponPf30Euwdd855q9CAUxoieKkGed0HvGZKvDHSytU73fZEnXu3tAfC4jenSXJT LoQVXsKBhb4YIMu9sIIV1/VwJAHxOFcDkBpTLvJXMX70Z0QyJZQMHM3tQwnW5jmv4OwX ES3g== 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=pe1vvImQ7xpypNGQYr/8kYE+GlHAALRJwr38y3BS0kA=; b=GI0XveVVHOe/e3huoIVXjFZZYqk03GjuLkftQJIpUQtkDFWbNGZf67FXTITpjDbAwm nQjTpN/wjN3JGrsERnPDRkVkrYsj7wVL/RuaQPe6Vzl0juRHpUqPv+q3mCICDXNAVG66 iktDMT8u+/zZzN+7V1j89214PJDcEje395GWzo515CHDR7r1GP9gx/bbvzbcJmaZOB7c itnKZgcDCJXG4KGhykXM54YgAQ3W1Dw5xQNfv8Bo9wC6CF7+mp2Bt4vGSrYacYLJ8VTS LVz5GQ4VJhCBGDgIrasZBLyDanxyWhf5gUh/IsfFw1Z6XJ78UI5sZ6s9Y2K8lnF0cj5m JDIw== X-Gm-Message-State: AOAM531LkrKu0JpZB/hP6aPIj9pV1ijnn/bT6PLXoj4lRqPJRpsuv69x EqDBduw+Ugspl7boE2lq2JrOTA== X-Received: by 2002:a5d:474f:: with SMTP id o15mr3963541wrs.100.1606397520142; Thu, 26 Nov 2020 05:32:00 -0800 (PST) Received: from dell.default ([91.110.221.235]) by smtp.gmail.com with ESMTPSA id n10sm8701001wrv.77.2020.11.26.05.31.58 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Nov 2020 05:31:59 -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 03/17] ath9k: ar9330_1p1_initvals: Remove unused const variable 'ar9331_common_tx_gain_offset1_1' Date: Thu, 26 Nov 2020 13:31:38 +0000 Message-Id: <20201126133152.3211309-4-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/ar9330_1p1_initvals.h:1013:18: warning: ‘ar9331_common_tx_gain_offset1_1’ 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/ar9330_1p1_initvals.h | 7 ------- 1 file changed, 7 deletions(-) -- 2.25.1 diff --git a/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h index 29479afbc4f10..3e783fc13553b 100644 --- a/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9330_1p1_initvals.h @@ -1010,11 +1010,4 @@ static const u32 ar9331_common_rx_gain_1p1[][2] = { {0x0000a1fc, 0x00000296}, }; -static const u32 ar9331_common_tx_gain_offset1_1[][1] = { - {0x00000000}, - {0x00000003}, - {0x00000000}, - {0x00000000}, -}; - #endif /* INITVALS_9330_1P1_H */