From patchwork Tue Feb 16 04:30:33 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen Lin X-Patchwork-Id: 12089589 X-Patchwork-Delegate: kvalo@adurom.com Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-15.7 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3FD06C433E0 for ; Tue, 16 Feb 2021 04:31:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0C17864DAF for ; Tue, 16 Feb 2021 04:31:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229996AbhBPEbR (ORCPT ); Mon, 15 Feb 2021 23:31:17 -0500 Received: from m12-16.163.com ([220.181.12.16]:45325 "EHLO m12-16.163.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229910AbhBPEbN (ORCPT ); Mon, 15 Feb 2021 23:31:13 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=From:Subject:Date:Message-Id; bh=hboCNnAqFehWE69dM1 PgkN2wYQNA1HFncAXe/EplEqA=; b=iV3Fb/BsDarUdAE2B5f16hf6gTSOAzpPGJ hkXFnHgga4ZMusUHHO5avxfPw/2KdX1T2goBpvBa4HYeVpg+FR/ZIbILP+7CorEI VI6ysFBeBkgrLXilS3HbC2UtK3xUGY/fMS1uStiExbw6uDyHR08Ak+CHkG3/vk9n hroNTsINw= Received: from localhost.localdomain (unknown [125.70.193.99]) by smtp12 (Coremail) with SMTP id EMCowACHIUkjSitgp1XkcA--.19808S2; Tue, 16 Feb 2021 12:29:27 +0800 (CST) From: Chen Lin To: pizza@shaftnet.org Cc: kvalo@codeaurora.org, davem@davemloft.net, kuba@kernel.org, linux-wireless@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Chen Lin Subject: [PATCH] cw1200: Remove unused function pointer typedef wsm_* Date: Tue, 16 Feb 2021 12:30:33 +0800 Message-Id: <1613449833-4910-1-git-send-email-chen45464546@163.com> X-Mailer: git-send-email 1.7.9.5 X-CM-TRANSID: EMCowACHIUkjSitgp1XkcA--.19808S2 X-Coremail-Antispam: 1Uf129KBjvJXoW7uw15GryxWr1ruw4DtF4UCFg_yoW8Cw15pF Z8Gay7KrWruFn0934UJr4Fv39xtanag3WDCrWDCw1S9rn7twn5GryUtw13JryYyayfWFya yrn0yrWxAr1jkrUanT9S1TB71UUUUUUqnTZGkaVYY2UrUUUUjbIjqfuFe4nvWSU5nxnvy2 9KBjDUYxBIdaVFxhVjvjDU0xZFpf9x07jfL05UUUUU= X-Originating-IP: [125.70.193.99] X-CM-SenderInfo: hfkh0kqvuwkkiuw6il2tof0z/xtbBzgc7nlQHLpPThQAAsU Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org From: Chen Lin Remove the 'wsm_*' typedef as it is not used. Signed-off-by: Chen Lin --- drivers/net/wireless/st/cw1200/wsm.h | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/drivers/net/wireless/st/cw1200/wsm.h b/drivers/net/wireless/st/cw1200/wsm.h index 1ffa479..89fdc91 100644 --- a/drivers/net/wireless/st/cw1200/wsm.h +++ b/drivers/net/wireless/st/cw1200/wsm.h @@ -785,8 +785,6 @@ struct wsm_tx_confirm { }; /* 3.15 */ -typedef void (*wsm_tx_confirm_cb) (struct cw1200_common *priv, - struct wsm_tx_confirm *arg); /* Note that ideology of wsm_tx struct is different against the rest of * WSM API. wsm_hdr is /not/ a caller-adapted struct to be used as an input @@ -862,9 +860,6 @@ struct wsm_rx { /* = sizeof(generic hi hdr) + sizeof(wsm hdr) */ #define WSM_RX_EXTRA_HEADROOM (16) -typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg, - struct sk_buff **skb_p); - /* 3.17 */ struct wsm_event { /* WSM_STATUS_... */ @@ -1180,8 +1175,6 @@ struct wsm_switch_channel { int wsm_switch_channel(struct cw1200_common *priv, const struct wsm_switch_channel *arg); -typedef void (*wsm_channel_switch_cb) (struct cw1200_common *priv); - #define WSM_START_REQ_ID 0x0017 #define WSM_START_RESP_ID 0x0417 @@ -1240,8 +1233,6 @@ int wsm_beacon_transmit(struct cw1200_common *priv, int wsm_stop_find(struct cw1200_common *priv); -typedef void (*wsm_find_complete_cb) (struct cw1200_common *priv, u32 status); - struct wsm_suspend_resume { /* See 3.52 */ /* Link ID */ @@ -1256,9 +1247,6 @@ struct wsm_suspend_resume { /* [out] */ int queue; }; -typedef void (*wsm_suspend_resume_cb) (struct cw1200_common *priv, - struct wsm_suspend_resume *arg); - /* 3.54 Update-IE request. */ struct wsm_update_ie { /* WSM_UPDATE_IE_... */