Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3619338pxk; Tue, 29 Sep 2020 01:32:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxylRmYkSVW519YsawpqZh9moMsRE+dyWiYsM6O38VBo5+2X/vjILptGVJg/pgbdQixDfeV X-Received: by 2002:a50:8e58:: with SMTP id 24mr2083433edx.226.1601368345320; Tue, 29 Sep 2020 01:32:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1601368345; cv=none; d=google.com; s=arc-20160816; b=B8fUSG2iZZIuw5hiutGPYqIF63I81FEMWpVCFsQ6K0VyvAxTy9wG/k2MU8HHYrkN+9 AfzWdUU/0xH+br+SlxvPntYopxxnJ+Il9NrUSE/mBuQadrLYgsiUhm6nxtYoBSnRa9wA vBt5u6Z6Fm3OlU7tfsjRzqeEqEjSiatB4/DfuMkRcXTYWov33MltaCMdqroWiCYxnnl6 IGoMb7hVR7Q00uKndDrrIPdvSytWqc34UhZHcithfA0k/TO0LeMoAmr2VnryOoW7kvtd iFVmIAkyx8YOWVws9jj45R9kJyOBsaaRtqN8xEt3jSBmvyEdeEJxHe37Zr7Z64QR9Ex/ mQ0g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:date:message-id:user-agent:cc:to:references :in-reply-to:from:subject:content-transfer-encoding:mime-version :dmarc-filter:sender:dkim-signature; bh=cgyRCysa2FWaoTRZSuzlCiwZbNxWNk1GU5BpMdq2hOA=; b=S2FXXY9Dbc5LhbN2akwACmx0AxbpCjqcg+BLLxPJtCMSWxvcSzliyMmmP/z1c2cdYk rybxNYdRDf9cX+2MI+JudHyr3R9FDh8ymL0jGVmRpBG763vbxGo3g8TzFFOmyOfld85J a3O4BFBNkSazWYHWab15tFnkE3A91U6PdvZWJ7+pZsEX5+SdpLw3jJWOO1zkqalGN0AQ X8qxLdYZbnI4vm4+n4NeCpkne/n1KukiXstAnM1ZmtXS6THc0crkQs1Rr/B+7zssP3Uz youUveqEuZwzD2AHBDbzq3lsv5cLyn6GPnMUxVchjSTCEhq032B0dBzRdf0QMJI7wi0j NBug== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=eBVA5Khz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id f27si2626318ejf.129.2020.09.29.01.32.03; Tue, 29 Sep 2020 01:32:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-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=@mg.codeaurora.org header.s=smtp header.b=eBVA5Khz; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727699AbgI2Ia6 (ORCPT + 99 others); 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) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=2.0 tests=ALL_TRUSTED,BAYES_00, MISSING_DATE,MISSING_MID,SPF_FAIL,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 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