Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

cw1200: Remove unused function pointer typedef wsm_*

Remove the 'wsm_*' 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/1613449833-4910-1-git-send-email-chen45464546@163.com

authored by

Chen Lin and committed by
Kalle Valo
9dc5fdc8 1c22233a

-12
-12
drivers/net/wireless/st/cw1200/wsm.h
··· 785 785 }; 786 786 787 787 /* 3.15 */ 788 - typedef void (*wsm_tx_confirm_cb) (struct cw1200_common *priv, 789 - struct wsm_tx_confirm *arg); 790 788 791 789 /* Note that ideology of wsm_tx struct is different against the rest of 792 790 * WSM API. wsm_hdr is /not/ a caller-adapted struct to be used as an input ··· 859 861 860 862 /* = sizeof(generic hi hdr) + sizeof(wsm hdr) */ 861 863 #define WSM_RX_EXTRA_HEADROOM (16) 862 - 863 - typedef void (*wsm_rx_cb) (struct cw1200_common *priv, struct wsm_rx *arg, 864 - struct sk_buff **skb_p); 865 864 866 865 /* 3.17 */ 867 866 struct wsm_event { ··· 1175 1180 int wsm_switch_channel(struct cw1200_common *priv, 1176 1181 const struct wsm_switch_channel *arg); 1177 1182 1178 - typedef void (*wsm_channel_switch_cb) (struct cw1200_common *priv); 1179 - 1180 1183 #define WSM_START_REQ_ID 0x0017 1181 1184 #define WSM_START_RESP_ID 0x0417 1182 1185 ··· 1233 1240 1234 1241 int wsm_stop_find(struct cw1200_common *priv); 1235 1242 1236 - typedef void (*wsm_find_complete_cb) (struct cw1200_common *priv, u32 status); 1237 - 1238 1243 struct wsm_suspend_resume { 1239 1244 /* See 3.52 */ 1240 1245 /* Link ID */ ··· 1246 1255 /* WSM_QUEUE_... */ 1247 1256 /* [out] */ int queue; 1248 1257 }; 1249 - 1250 - typedef void (*wsm_suspend_resume_cb) (struct cw1200_common *priv, 1251 - struct wsm_suspend_resume *arg); 1252 1258 1253 1259 /* 3.54 Update-IE request. */ 1254 1260 struct wsm_update_ie {