From mboxrd@z Thu Jan 1 00:00:00 1970 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=-6.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 274CFC4741F for ; Tue, 29 Sep 2020 08:31:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id AD8EB20789 for ; Tue, 29 Sep 2020 08:30:59 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=mg.codeaurora.org header.i=@mg.codeaurora.org header.b="eBVA5Khz" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727717AbgI2Ia6 (ORCPT ); Tue, 29 Sep 2020 04:30:58 -0400 Received: from z5.mailgun.us ([104.130.96.5]:13627 "EHLO z5.mailgun.us" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725372AbgI2Ia6 (ORCPT ); Tue, 29 Sep 2020 04:30:58 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1601368257; h=Date: Message-Id: Cc: To: References: In-Reply-To: From: Subject: Content-Transfer-Encoding: MIME-Version: Content-Type: Sender; bh=cgyRCysa2FWaoTRZSuzlCiwZbNxWNk1GU5BpMdq2hOA=; b=eBVA5KhzhE9GiDoSxW0Z51SfshtPMu0HKpqncZqOpwZAPUov89IkzW6sLc4nHLholfO2GQP8 iIadfLIvVSsvg41AiYf0s4eDCPaApMJwzae5UrIX25xjwMiI4QQZee4Tkrbwho+dEtQl5Plu w14LcMuB6zirO9MX9g77MzYm5kY= X-Mailgun-Sending-Ip: 104.130.96.5 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n07.prod.us-east-1.postgun.com with SMTP id 5f72f0c1aada82eaa45e8e6c (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Tue, 29 Sep 2020 08:30:57 GMT Sender: kvalo=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id E664FC433C8; Tue, 29 Sep 2020 08:30:56 +0000 (UTC) Received: from potku.adurom.net (88-114-240-156.elisa-laajakaista.fi [88.114.240.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: kvalo) by smtp.codeaurora.org (Postfix) with ESMTPSA id A7F61C433CA; Tue, 29 Sep 2020 08:30:54 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 smtp.codeaurora.org A7F61C433CA Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; dmarc=none (p=none dis=none) header.from=codeaurora.org Authentication-Results: aws-us-west-2-caf-mail-1.web.codeaurora.org; spf=fail smtp.mailfrom=kvalo@codeaurora.org Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH -next v2] ath9k: Remove set but not used variable From: Kalle Valo In-Reply-To: <1600831531-8573-1-git-send-email-liheng40@huawei.com> References: <1600831531-8573-1-git-send-email-liheng40@huawei.com> To: Li Heng Cc: , , , , , User-Agent: pwcli/0.1.0-git (https://github.com/kvalo/pwcli/) Python/3.5.2 Message-Id: <20200929083056.E664FC433C8@smtp.codeaurora.org> Date: Tue, 29 Sep 2020 08:30:56 +0000 (UTC) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Li Heng wrote: > This addresses the following gcc warning with "make W=1": > > drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1331:18: warning: > ‘ar9580_1p0_pcie_phy_clkreq_enable_L1’ defined but not used [-Wunused-const-variable=] > > drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1338:18: warning: > ‘ar9580_1p0_pcie_phy_clkreq_disable_L1’ defined but not used [-Wunused-const-variable=] > > drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h:1345:18: warning: > ‘ar9580_1p0_pcie_phy_pll_on_clkreq’ defined but not used [-Wunused-const-variable=] > > Reported-by: Hulk Robot > Signed-off-by: Li Heng > Signed-off-by: Kalle Valo Patch applied to ath-next branch of ath.git, thanks. e2f1ceb81758 ath9k: Remove set but not used variable -- https://patchwork.kernel.org/patch/11793845/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches