Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp104240pxk; Tue, 22 Sep 2020 20:27:12 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwvJIuw87nkBbhhGmRd22/PWiiDd0es4wAAa3Zfhg6xQtm6XPBkd+9+vfwI0SDwucUOJUh3 X-Received: by 2002:a17:906:4c4c:: with SMTP id d12mr7883299ejw.491.1600831632219; Tue, 22 Sep 2020 20:27:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600831632; cv=none; d=google.com; s=arc-20160816; b=dtOYn+iulUgOZCLXNS8CSZklXXirIW9e7LitF4jQhGuyYha0cEipxcthTn7dtj2VqL Ov+9ycy1LVTlAsR1UqujDx7PoTi0UWOl6YTPFGkBxU2U4X0rbWCWiOdYaOZqzQcqVqHX c251uiCB74CYBzxiFTS4/pwt4Ks85baZuubVTytnx4auQ5scd+gaCMFgJpbQvP+65hNs bXHA+cR7Gjg9boNdOkLtqy6mzcHJH4cBou+VuIZOrkKieks8j6ehzz0Eg/vnZD47Rifn McHIKwDEBobsBekUKxFEm1/H561x8p0CdLZIZIuyUyDbeiz+bHNMMzUYcRrayFiS15at hwkw== 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=vnpKzemE0CzRyxQYtIei3Uq2RIsVUk++JSWHNNaLTXI=; b=jKcBW4TT/E60AqFAhPVzPlc2r5+oHe3jte7bzM7sb4roOMiqFrnHEk54fPqcXEomjA Gnp2mSgCWWW15XLns0RoqoHDU19qwjzU42xG7jEqt2oQx+RNX5I2ZACv8NFY5dBhCAix T93bWhJJoXYwTHRl+xM8XjCkGXllBW0Ht0I5uGTddRR8EbD9URQuZsCmUNrZcQV4y6jk KFXIoQJNovNrONP0zQ8RZuakZSQznjtxg4NHTpOJURMzTAr7Nl6x8qBrucwvz9GPjSqU 0Aciqd/2H/hBkmXoL8aIGWufac1hKggMv15lNUm0MG4I86ETUtgcOlkCVyEeqGJeizEY YiGw== ARC-Authentication-Results: i=1; mx.google.com; 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 us11si12157780ejb.268.2020.09.22.20.26.48; Tue, 22 Sep 2020 20:27:12 -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; 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 S1726770AbgIWDZi (ORCPT + 99 others); Tue, 22 Sep 2020 23:25:38 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:14263 "EHLO huawei.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726703AbgIWDZi (ORCPT ); Tue, 22 Sep 2020 23:25:38 -0400 Received: from DGGEMS408-HUB.china.huawei.com (unknown [172.30.72.58]) by Forcepoint Email with ESMTP id 68C6DBC5F24D1962E43F; Wed, 23 Sep 2020 11:25:36 +0800 (CST) Received: from huawei.com (10.175.104.57) by DGGEMS408-HUB.china.huawei.com (10.3.19.208) with Microsoft SMTP Server id 14.3.487.0; Wed, 23 Sep 2020 11:25:31 +0800 From: Li Heng To: , , , CC: , , Subject: [PATCH -next v2] ath9k: Remove set but not used variable Date: Wed, 23 Sep 2020 11:25:31 +0800 Message-ID: <1600831531-8573-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-kernel@vger.kernel.org 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 --- .../net/wireless/ath/ath9k/ar9580_1p0_initvals.h | 21 --------------------- 1 file changed, 21 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..fab14e0 100644 --- a/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h +++ b/drivers/net/wireless/ath/ath9k/ar9580_1p0_initvals.h @@ -1328,27 +1328,6 @@ static const u32 ar9580_1p0_baseband_postamble[][5] = { {0x0000c284, 0x00000000, 0x00000000, 0x00000150, 0x00000150}, }; -static const u32 ar9580_1p0_pcie_phy_clkreq_enable_L1[][2] = { - /* Addr allmodes */ - {0x00004040, 0x0835365e}, - {0x00004040, 0x0008003b}, - {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}, - {0x00004040, 0x0008003b}, - {0x00004044, 0x00000000}, -}; - static const u32 ar9580_1p0_baseband_postamble_dfs_channel[][3] = { /* Addr 5G 2G */ {0x00009814, 0x3400c00f, 0x3400c00f}, -- 2.7.4