Received: by 2002:a05:7412:bb8d:b0:d7:7d3a:4fe2 with SMTP id js13csp2600647rdb; Fri, 18 Aug 2023 05:29:55 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFuin6+m8PZLYYChunc72ZSpLx5NuU1ZWz/XUKG63UdD9Vuxzc7Dhr1W1RD45J0d/MRFeKz X-Received: by 2002:a05:6512:234c:b0:4fe:1f1c:184f with SMTP id p12-20020a056512234c00b004fe1f1c184fmr1971698lfu.44.1692361795114; Fri, 18 Aug 2023 05:29:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1692361795; cv=none; d=google.com; s=arc-20160816; b=XOlS5Xxg6alb8drkQpeS2jgsu7U3TJltO3v+wI2pkxI4REyFwvffOohvvoX46YsuaP kxk2TquXbDatxW+7jjuFCwRkfrQzzxHrIC0z4BTYu9XsaZFAyLsG56A3stPcXKxj6W8k JOMm8KaCMpTej0LP8uZP0EXSeV+oLz/g59nrbIavVkSVAoiGE9qcCIOSCWoy3kNpBVv4 jsQyaDx1kbrFJTtA29M/QZEFVRzyhjY9j35SWeDFL9oqlVhT5kqnDG+EQTGXbHqqGD1Y 8R9yF4ueIo9AOaCZwKmIC/ik4pOz/SJx7fTNkiBbwuL2D+bCm98+noxMn69hIcHu1tK5 F0NQ== 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=oyIfNwGt1YaK/15BPhUpT2+t2DFQ6807QChADAbOuoU=; fh=NGX3wXoQXp1cvYVpQ010MjwoDGtghVmxnoFYRY2zGSc=; b=yJqoSOXwmydYMy0UBa7pmiQiXYTGOfiho1Hl3c0m+WzX4lBGdIOxg/rnc3+COx+vg6 hs1G6/w4jTdDdbcVqePhGZYfg/u60jZHBAPjW6TMutNkUf0PNIAGcNQWz0AYLdvUrf+m UttTFW7C0Tlof8db3NzitOYLw4/IUlApcfXG0El2cge5c7O4ab9LcvZ0fUKTb+fFqLfP Xj82LbubfbgmCAVjGIgBy05hImASGGzsyw9yay+pMfFVhTWgD15R+KxxYLg6UGPRbA4M 06rZRMuS0QHzRmb+w3MKwmjKETcMTMMNUaG174ZTYHS9XZRKFmlRyR/kGwNYaNb+Sk1W HyCQ== 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 g3-20020a056402114300b005257c5f7d9esi1251448edw.412.2023.08.18.05.29.41; Fri, 18 Aug 2023 05:29:55 -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 S245166AbjHPNGj (ORCPT + 54 others); Wed, 16 Aug 2023 09:06:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44300 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244315AbjHPNGK (ORCPT ); Wed, 16 Aug 2023 09:06:10 -0400 Received: from szxga02-in.huawei.com (szxga02-in.huawei.com [45.249.212.188]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3D3FA26BA for ; Wed, 16 Aug 2023 06:06:06 -0700 (PDT) Received: from canpemm500007.china.huawei.com (unknown [172.30.72.54]) by szxga02-in.huawei.com (SkyGuard) with ESMTP id 4RQpHJ1YPfzVjsD; Wed, 16 Aug 2023 21:03:56 +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.31; Wed, 16 Aug 2023 21:06:01 +0800 From: Yue Haibing To: , CC: , , Subject: [PATCH] wifi: ath12k: Remove unused declarations Date: Wed, 16 Aug 2023 21:05:50 +0800 Message-ID: <20230816130550.50896-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: dggems703-chm.china.huawei.com (10.3.19.180) To canpemm500007.china.huawei.com (7.192.104.62) X-CFilter-Loop: Reflected X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_BLOCKED,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 d889913205cf ("wifi: ath12k: driver for Qualcomm Wi-Fi 7 devices") declared but never implemented these, remove it. Signed-off-by: Yue Haibing --- drivers/net/wireless/ath/ath12k/ce.h | 3 --- drivers/net/wireless/ath/ath12k/core.h | 1 - drivers/net/wireless/ath/ath12k/qmi.h | 2 -- drivers/net/wireless/ath/ath12k/wmi.h | 2 -- 4 files changed, 8 deletions(-) diff --git a/drivers/net/wireless/ath/ath12k/ce.h b/drivers/net/wireless/ath/ath12k/ce.h index 17cf16235e0b..79af3b6159f1 100644 --- a/drivers/net/wireless/ath/ath12k/ce.h +++ b/drivers/net/wireless/ath/ath12k/ce.h @@ -176,9 +176,6 @@ int ath12k_ce_alloc_pipes(struct ath12k_base *ab); void ath12k_ce_free_pipes(struct ath12k_base *ab); int ath12k_ce_get_attr_flags(struct ath12k_base *ab, int ce_id); void ath12k_ce_poll_send_completed(struct ath12k_base *ab, u8 pipe_id); -int ath12k_ce_map_service_to_pipe(struct ath12k_base *ab, u16 service_id, - u8 *ul_pipe, u8 *dl_pipe); -int ath12k_ce_attr_attach(struct ath12k_base *ab); void ath12k_ce_get_shadow_config(struct ath12k_base *ab, u32 **shadow_cfg, u32 *shadow_cfg_len); #endif diff --git a/drivers/net/wireless/ath/ath12k/core.h b/drivers/net/wireless/ath/ath12k/core.h index 4389ff40b49d..d873b573dac6 100644 --- a/drivers/net/wireless/ath/ath12k/core.h +++ b/drivers/net/wireless/ath/ath12k/core.h @@ -788,7 +788,6 @@ int ath12k_core_fetch_board_data_api_1(struct ath12k_base *ab, int ath12k_core_fetch_bdf(struct ath12k_base *ath12k, struct ath12k_board_data *bd); void ath12k_core_free_bdf(struct ath12k_base *ab, struct ath12k_board_data *bd); -int ath12k_core_check_dt(struct ath12k_base *ath12k); void ath12k_core_halt(struct ath12k *ar); int ath12k_core_resume(struct ath12k_base *ab); diff --git a/drivers/net/wireless/ath/ath12k/qmi.h b/drivers/net/wireless/ath/ath12k/qmi.h index df76149c49f5..15944f5f33ab 100644 --- a/drivers/net/wireless/ath/ath12k/qmi.h +++ b/drivers/net/wireless/ath/ath12k/qmi.h @@ -562,8 +562,6 @@ struct qmi_wlanfw_wlan_cfg_resp_msg_v01 { int ath12k_qmi_firmware_start(struct ath12k_base *ab, u32 mode); void ath12k_qmi_firmware_stop(struct ath12k_base *ab); -void ath12k_qmi_event_work(struct work_struct *work); -void ath12k_qmi_msg_recv_work(struct work_struct *work); void ath12k_qmi_deinit_service(struct ath12k_base *ab); int ath12k_qmi_init_service(struct ath12k_base *ab); diff --git a/drivers/net/wireless/ath/ath12k/wmi.h b/drivers/net/wireless/ath/ath12k/wmi.h index 8c047a9623f9..c75a6fa1f7e0 100644 --- a/drivers/net/wireless/ath/ath12k/wmi.h +++ b/drivers/net/wireless/ath/ath12k/wmi.h @@ -4855,8 +4855,6 @@ int ath12k_wmi_vdev_install_key(struct ath12k *ar, struct wmi_vdev_install_key_arg *arg); int ath12k_wmi_pdev_bss_chan_info_request(struct ath12k *ar, enum wmi_bss_chan_info_req_type type); -int ath12k_wmi_send_stats_request_cmd(struct ath12k *ar, u32 stats_id, - u32 vdev_id, u32 pdev_id); int ath12k_wmi_send_pdev_temperature_cmd(struct ath12k *ar); int ath12k_wmi_send_peer_flush_tids_cmd(struct ath12k *ar, u8 peer_addr[ETH_ALEN], -- 2.34.1