diff mbox series

cw1200: Remove unused function pointer typedef cw1200_wsm_handler

Message ID 1613446918-4532-1-git-send-email-chen45464546@163.com
State New
Headers show
Series cw1200: Remove unused function pointer typedef cw1200_wsm_handler | expand

Commit Message

Chen Lin Feb. 16, 2021, 3:41 a.m. UTC
From: Chen Lin <chen.lin5@zte.com.cn>

Remove the 'cw1200_wsm_handler' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
---
 drivers/net/wireless/st/cw1200/bh.c |    3 ---
 1 file changed, 3 deletions(-)

Comments

Kalle Valo April 17, 2021, 5:25 p.m. UTC | #1
Chen Lin <chen45464546@163.com> wrote:

> From: Chen Lin <chen.lin5@zte.com.cn>

> 

> Remove the 'cw1200_wsm_handler' typedef as it is not used.

> 

> Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>


Patch applied to wireless-drivers-next.git, thanks.

1c22233a745e cw1200: Remove unused function pointer typedef cw1200_wsm_handler

-- 
https://patchwork.kernel.org/project/linux-wireless/patch/1613446918-4532-1-git-send-email-chen45464546@163.com/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
diff mbox series

Patch

diff --git a/drivers/net/wireless/st/cw1200/bh.c b/drivers/net/wireless/st/cw1200/bh.c
index c364a39..8bade5d 100644
--- a/drivers/net/wireless/st/cw1200/bh.c
+++ b/drivers/net/wireless/st/cw1200/bh.c
@@ -42,9 +42,6 @@  enum cw1200_bh_pm_state {
 	CW1200_BH_RESUME,
 };
 
-typedef int (*cw1200_wsm_handler)(struct cw1200_common *priv,
-	u8 *data, size_t size);
-
 static void cw1200_bh_work(struct work_struct *work)
 {
 	struct cw1200_common *priv =