Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp3853861pxk; Tue, 22 Sep 2020 04:32:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwFFicsSDhy/OF3RjeMJYQP6UnEISU6LuahiG5OQa+6yfPl/iDlF/DGAyHtYTRmh8ltAYTS X-Received: by 2002:a17:906:2dd:: with SMTP id 29mr4504649ejk.31.1600774346512; Tue, 22 Sep 2020 04:32:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600774346; cv=none; d=google.com; s=arc-20160816; b=XgSMyA/kSHqTltDf2YA0JMjNSu0p68qCWHtOyXpXLz/cqnLOnQcl0t2a1yCVBXCZE9 OOmnRNQZkaqmlgy3FXiyll223iJLsaVD96kgrNEXqANgGVMdDPX4kCT90dkiKAkpQX0H y57H4L8BA9IdGziThif4mAMdOeGlyYUI0JKZ8mFrGRQJNcfcSD94sLzjebved4MPrlys PoALDNifzPvVbAxF908jF8Q++2j64g9n8hNB1n4LX5EZwAHxgvHefpyziEHfjMNJhURw hKa96fkcomKKBcls7nCHjKSQ4RFUTGkVwCNtiEDyLLKBXaP04Jmvg1JYHWQN1CWODUvr 4hEg== 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 :message-id:date:subject:cc:to:from; bh=ydaZN+WlW3jNNYE7xOs6rFnFtuMsDhb5qBEHbNs+tiQ=; b=Q37JljZiU04eadnqMREhReAU4xguFo2R8vQBs7W4njZyrMQyPa2qI5C5OlWMVNrmce hF4iMEvN/4AbRrkYrTZcBV6Tgp5TysOLmWkf4WjShFZ90I3IA5+LKQNvZv9Xf+5egu9C QSOyQNS9GkrfCbKKP1NiTmfAgAm9DNgezcL0xEoiv335HdSAUsReUSVPxiPDOtizT/Rl k4D0iPDhGbnYnUjmNdtPGtEJyDz3rW1bQjc26eSCxbboQmy0RvOX/q0Dwr1qO3Bbe6dd wPQeMZpKpy2/E7h/yVPG6PA7ou9DeE529650wk2EEGKAgQI0f0wAzqKdiyTBbj8NiT7r joLw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-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 l10si10019533edr.220.2020.09.22.04.31.52; Tue, 22 Sep 2020 04:32:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726603AbgIVLbB (ORCPT + 99 others); Tue, 22 Sep 2020 07:31:01 -0400 Received: from szxga07-in.huawei.com ([45.249.212.35]:56112 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726454AbgIVLbB (ORCPT ); Tue, 22 Sep 2020 07:31:01 -0400 Received: from DGGEMS410-HUB.china.huawei.com (unknown [172.30.72.59]) by Forcepoint Email with ESMTP id 24B7DA009396B05D645B; Tue, 22 Sep 2020 19:30:56 +0800 (CST) Received: from huawei.com (10.175.104.57) by DGGEMS410-HUB.china.huawei.com (10.3.19.210) with Microsoft SMTP Server id 14.3.487.0; Tue, 22 Sep 2020 19:30:52 +0800 From: Li Heng To: , , , CC: , , Subject: [PATCH -next] ath9k: Remove set but not used variable Date: Tue, 22 Sep 2020 19:30:52 +0800 Message-ID: <1600774252-48564-1-git-send-email-liheng40@huawei.com> X-Mailer: git-send-email 2.7.4 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [10.175.104.57] X-CFilter-Loop: Reflected Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org This addresses the following gcc warning with "make W=1": 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=] Reported-by: Hulk Robot Signed-off-by: Li Heng --- drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h index f4c9bef..f67f537 100644 --- a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h @@ -1335,13 +1335,6 @@ static const u32 ar9580_1p0_pcie_phy_clkreq_enable_L1[][2] = { {0x00004044, 0x00000000}, }; -static const u32 ar9580_1p0_pcie_phy_clkreq_disable_L1[][2] = { - /* Addr allmodes */ - {0x00004040, 0x0831365e}, - {0x00004040, 0x0008003b}, - {0x00004044, 0x00000000}, -}; - static const u32 ar9580_1p0_pcie_phy_pll_on_clkreq[][2] = { /* Addr allmodes */ {0x00004040, 0x0831265e}, -- 2.7.4