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: 11873513 X-Patchwork-Delegate: kuba@kernel.org 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=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham 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 C4BC9C388F2 for ; Mon, 2 Nov 2020 11:24:34 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6AFB2223B0 for ; Mon, 2 Nov 2020 11:24:34 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rK8Q/Uw4" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728673AbgKBLYd (ORCPT ); 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-Google-Smtp-Source: ABdhPJwA91tKEgsgkd8SoO0bfyTHukOwzFNhDYUGhZwKs8yhHtgnKh2ZKkGWfJBeLjvEurPjz+sxPw== 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 X-Patchwork-Delegate: kuba@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(-) 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 */