From patchwork Mon Nov 2 11:23:39 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lee Jones X-Patchwork-Id: 320206 Delivered-To: patch@linaro.org Received: by 2002:a92:7b12:0:0:0:0:0 with SMTP id w18csp3643240ilc; Mon, 2 Nov 2020 03:24:35 -0800 (PST) X-Google-Smtp-Source: ABdhPJxAffAFy3INXZumi8mUxltbaN9Ld04TA6JlT8ze8djSHheR8kju22C3964ujjDG4KwIM+9L X-Received: by 2002:a05:6402:17b4:: with SMTP id j20mr4139373edy.24.1604316275115; Mon, 02 Nov 2020 03:24:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604316275; cv=none; d=google.com; s=arc-20160816; b=fG3en4OkiuWfklSCuIBC3xlf0KRcA+kkba3ZHZ5riQicticyWvQFrCx/sltSlgfgoD yESWY4VtnVXi2s5oBXAvN8tcHOJ9YSbPnM7iGeWJsRmLTlwd9eqAabVKVHHUh2WSOhX0 w/raI2sN2N4AhohptQ2Qvg5GumGOctx3zcQx2IfZNWdITLKANewBXT4C0/0IbcWndEz8 MYog1Rv1JpulZHvQgy9agz5QSR5Mbe5ywcj2JvDX8imF8TeUTvgLdV6O283vSwd1c2Ol iQWAwK4iQ+Mod890LyhJK026XE3s+/FP/DoA7eLgftgs4mDLAi/c1xRGpj0tAEjCcLUt hXvg== 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=tuknnU7N/cfZvSAg6WBXx9YfU1yd9tJh6rdB5i0khWAa8JBhnU3aAX04d9XBGJ92ZI eOeNnll65l9BQhw+NYL5Blgr1yr6ukGCAIRbcYX1oub6rJkNgXRdahyAmYUNvkMA8rhS ULD3Of2qXLzAtmE6K7QwInxB4jhnvqIkrc71pYtcPyIzRL0Pm8rTShysJBHjUIkOlzAE lcfkeCOB4wr8PDy/yV/24lzitglwk37GSHtnIZPgFj4CHPKmrRw3QmoY5UGMTJP4B4N+ Kkrc8UbbnnQNZosboZty3f7WRiC5D9A9o1EYBdiY0/tlLCbSXaFCaTYZ/9h8bGDSq9gb WLlw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="rK8Q/Uw4"; 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 u18si10522799edo.34.2020.11.02.03.24.34; Mon, 02 Nov 2020 03:24:35 -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="rK8Q/Uw4"; 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 S1728673AbgKBLYd (ORCPT + 8 others); Mon, 2 Nov 2020 06:24:33 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47906 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728653AbgKBLYb (ORCPT ); Mon, 2 Nov 2020 06:24:31 -0500 Received: from mail-wm1-x344.google.com (mail-wm1-x344.google.com [IPv6:2a00:1450:4864:20::344]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 64972C0617A6 for ; Mon, 2 Nov 2020 03:24:31 -0800 (PST) Received: by mail-wm1-x344.google.com with SMTP id p19so1044197wmg.0 for ; Mon, 02 Nov 2020 03:24:31 -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=rK8Q/Uw4o4vzZuZdZ4a12AEzk+lH+7EMxb54ZjsaAzO2IyN8XQEqgOTbJNrVYWL1L5 ZkmoSKvRdZjYgs1bVoUA+X27NSr/6z87bnkv+D58Y5RuHVFmgEUlXj00C7pfl1pgphUu cnYgt02K8T05rU3Z5Ya7jJ3ll+owAkkvavLKgUOi3+YWOcM1uqaMqDqpIsgzt6muQBgT VyAAa6axy4+Z66UDH9TqnxBdULJDxxEPuAzTkOvKIh1pF6T+EbCD4tvuom+pmOwNMbJX gyzqGuVLLFqK87T+sivKlZ+PNxP/2Oe5kkAOWMytK/XAOLqqKvq/amZzhBjHo/v65v+d 8j8w== 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=aRlhj4fp63EEpj7hDV/Y7jTdEJ+0b2OEyXYsrZu8vbBBK7lbtDd4ALLYJWghRMQfNh 1xxNhKhIO98JR9qqfdKa2RV79I93qzPpVTbtjZELUa3uUiy+dxTkIa+Vs05kQ6TybLKW qCLbgs8tkYUccalofV8cPL0QNQtOx1uQFK6omE6DZ9KFxJBv1mH6D0eQ31eWg5NUygg0 LdZPqRdtEz7bzPjSIElx6rtQwnYmE9IkTV08brs6Fv28+dZkncG4ACMjxpscdTjq9Jzr 8HlXderfKhtrmktMUA2cKJH2jLKwFy1MBdvJC/qwd8nt2PAEHpaB43nNn/88Htwz/qx8 tj/w== X-Gm-Message-State: AOAM532df8EDukBPze1fIbUOIE9mFDk+Vwh4CXzZzoh5Tu/pNO2JUE9N JRBOesqETURohkrLittX50J0NA== X-Received: by 2002:a1c:ed0b:: with SMTP id l11mr16833456wmh.46.1604316270170; Mon, 02 Nov 2020 03:24:30 -0800 (PST) Received: from dell.default ([91.110.221.242]) by smtp.gmail.com with ESMTPSA id m14sm21867354wro.43.2020.11.02.03.24.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 03:24:29 -0800 (PST) From: Lee Jones To: kvalo@codeaurora.org Cc: linux-kernel@vger.kernel.org, Lee Jones , QCA ath9k Development , "David S. Miller" , Jakub Kicinski , linux-wireless@vger.kernel.org, netdev@vger.kernel.org Subject: [PATCH 10/41] ath9k: ar9330_1p1_initvals: Remove unused const variable 'ar9331_common_tx_gain_offset1_1' Date: Mon, 2 Nov 2020 11:23:39 +0000 Message-Id: <20201102112410.1049272-11-lee.jones@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20201102112410.1049272-1-lee.jones@linaro.org> References: <20201102112410.1049272-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 */