Received: by 2002:a05:6358:51dd:b0:131:369:b2a3 with SMTP id 29csp1236846rwl; Thu, 10 Aug 2023 08:18:05 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGxqWPvxxy4pcMHhNf8vdJdotAZ29+3c28v7i4bWPOY2MQ4H1wV8XVdPskk3/tQD3p3uomL X-Received: by 2002:ac2:5e78:0:b0:4fe:5051:f248 with SMTP id a24-20020ac25e78000000b004fe5051f248mr1825337lfr.19.1691680684695; Thu, 10 Aug 2023 08:18:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691680684; cv=none; d=google.com; s=arc-20160816; b=h2W6wIt4U+IUJz6+IUlBgSmB9QHRbRtiBzazo4EnnPIT1DUfv3b2r32DsIMv+MM+7f Lw25p0IMAXIa8nuNbnHF3EXqN637uUQvjV7xP7+fmTVdOe6+OrSOo3SwWh1qBHOw4lyP ZPJvO05KyIgbt+6pyImQ9IZUknnQ4/Qnfaap7WvZw+jYBX03mh7KN2pa6o7NsAlCvgRZ mkDMAyEy44W7gN9wWlEQURJNj07MMOp5Qe91ECePUsv3KInV0zsxm6KJPBRG1FrqUSWx nEEVRBJ3xW3r62MeUhU4ZJX2uDg5CsTJoW5fPmOZY0dVnoIf9LhJub+Wsb+Ed8HwT61U tJYA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from; bh=7JS23acV+lt6kQhvHfy9TbzrkfipFR/gR6HoLUP4wVw=; fh=QiDhPuA2T2eIw94KJaZHFLqQSOnRM4zAVZD29833+rk=; b=QgS0K9qi5MNRyBZteTIpIJOXmtxgZY6OJnmNWJBiOKhBTtEDAt7u50LEC+hOoQ6wnX wdeKPd36Z5+xvmeQaBZvhPG4qgPoa3sE0nYLSty64aGVNqvvEyvZ3jiAzmuPi+hj5gE7 0N80rMF0kPxzJasszcdjufU9N/K6D+rUfUrfclngswfkkGK3Z8Ele1dGDw0Qy2MRoyjO /sdB7todCo1pM7CzvD9Sqim3ayjTF2Rqv0dQSKOEVJ6ty5IdKR8LdC9Iok3kJJAz6olC ASV1JTIHrPAYBwhsRPNx1e0XTkzx+kEEY41tp/M+5OQ3tUXPoj+TvXIn0BMoVBuLJs9T 1OQw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d9-20020a056402516900b005236438a658si1611321ede.612.2023.08.10.08.17.35; Thu, 10 Aug 2023 08:18:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=huawei.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235680AbjHJOwm (ORCPT + 55 others); Thu, 10 Aug 2023 10:52:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41186 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235671AbjHJOwl (ORCPT ); Thu, 10 Aug 2023 10:52:41 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFE5E2694 for ; Thu, 10 Aug 2023 07:52:40 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RM8xD70CLzTmd4; Thu, 10 Aug 2023 22:50:40 +0800 (CST) Received: from localhost (10.174.179.215) by canpemm500007.china.huawei.com (7.192.104.62) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.27; Thu, 10 Aug 2023 22:52:37 +0800 From: Yue Haibing To: , , , CC: Subject: [PATCH] wifi: ath9k: Remove unused declarations Date: Thu, 10 Aug 2023 22:52:22 +0800 Message-ID: <20230810145222.34364-1-yuehaibing@huawei.com> X-Mailer: git-send-email 2.10.2.windows.1 MIME-Version: 1.0 Content-Type: text/plain X-Originating-IP: [10.174.179.215] X-ClientProxiedBy: dggems702-chm.china.huawei.com (10.3.19.179) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org Commit b57ba3b2f7b0 ("ath9k: move ath9k_reload_chainmask_settings to common") removed the implementation ath9k_reload_chainmask_settings() but not the declaration. Also commit 978f78bf7137 ("ath9k_hw: Move bt_stomp to hw from common.") left behind ath9k_cmn_btcoex_bt_stomp() declaration. Signed-off-by: Yue Haibing --- drivers/net/wireless/ath/ath9k/ath9k.h | 1 - drivers/net/wireless/ath/ath9k/common.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/drivers/net/wireless/ath/ath9k/ath9k.h b/drivers/net/wireless/ath/ath9k/ath9k.h index 2cc23605c9fc..668fc07b3073 100644 --- a/drivers/net/wireless/ath/ath9k/ath9k.h +++ b/drivers/net/wireless/ath/ath9k/ath9k.h @@ -1129,7 +1129,6 @@ void ath_restart_work(struct ath_softc *sc); int ath9k_init_device(u16 devid, struct ath_softc *sc, const struct ath_bus_ops *bus_ops); void ath9k_deinit_device(struct ath_softc *sc); -void ath9k_reload_chainmask_settings(struct ath_softc *sc); u8 ath_txchainmask_reduction(struct ath_softc *sc, u8 chainmask, u32 rate); void ath_start_rfkill_poll(struct ath_softc *sc); void ath9k_rfkill_poll_state(struct ieee80211_hw *hw); diff --git a/drivers/net/wireless/ath/ath9k/common.h b/drivers/net/wireless/ath/ath9k/common.h index f0ab6f9955e4..12204cf86fcf 100644 --- a/drivers/net/wireless/ath/ath9k/common.h +++ b/drivers/net/wireless/ath/ath9k/common.h @@ -85,8 +85,6 @@ struct ath9k_channel *ath9k_cmn_get_channel(struct ieee80211_hw *hw, struct ath_hw *ah, struct cfg80211_chan_def *chandef); int ath9k_cmn_count_streams(unsigned int chainmask, int max); -void ath9k_cmn_btcoex_bt_stomp(struct ath_common *common, - enum ath_stomp_type stomp_type); void ath9k_cmn_update_txpow(struct ath_hw *ah, u16 cur_txpow, u16 new_txpow, u16 *txpower); void ath9k_cmn_init_crypto(struct ath_hw *ah); -- 2.34.1