cw1200: Remove unused function pointer typedef cw1200_wsm_handler
authorChen Lin <chen.lin5@zte.com.cn>
Tue, 16 Feb 2021 03:41:58 +0000 (11:41 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 17 Apr 2021 17:25:09 +0000 (20:25 +0300)
Remove the 'cw1200_wsm_handler' typedef as it is not used.

Signed-off-by: Chen Lin <chen.lin5@zte.com.cn>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1613446918-4532-1-git-send-email-chen45464546@163.com
drivers/net/wireless/st/cw1200/bh.c

index c364a398761826f3b7a1522284fd7d591a883043..8bade5d89f12f8d3d4f1fc03f1d6c7fcad57d433 100644 (file)
@@ -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 =