Commit 9dc5fdc8 authored by Chen Lin's avatar Chen Lin Committed by Kalle Valo

cw1200: Remove unused function pointer typedef wsm_*

Remove the 'wsm_*' typedef as it is not used.
Signed-off-by: default avatarChen Lin <chen.lin5@zte.com.cn>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1613449833-4910-1-git-send-email-chen45464546@163.com
parent 1c22233a
...@@ -785,8 +785,6 @@ struct wsm_tx_confirm { ...@@ -785,8 +785,6 @@ struct wsm_tx_confirm {
}; };
/* 3.15 */ /* 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 /* 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 * WSM API. wsm_hdr is /not/ a caller-adapted struct to be used as an input
...@@ -862,9 +860,6 @@ struct wsm_rx { ...@@ -862,9 +860,6 @@ struct wsm_rx {
/* = sizeof(generic hi hdr) + sizeof(wsm hdr) */ /* = sizeof(generic hi hdr) + sizeof(wsm hdr) */
#define WSM_RX_EXTRA_HEADROOM (16) #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 */ /* 3.17 */
struct wsm_event { struct wsm_event {
/* WSM_STATUS_... */ /* WSM_STATUS_... */
...@@ -1180,8 +1175,6 @@ struct wsm_switch_channel { ...@@ -1180,8 +1175,6 @@ struct wsm_switch_channel {
int wsm_switch_channel(struct cw1200_common *priv, int wsm_switch_channel(struct cw1200_common *priv,
const struct wsm_switch_channel *arg); 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_REQ_ID 0x0017
#define WSM_START_RESP_ID 0x0417 #define WSM_START_RESP_ID 0x0417
...@@ -1240,8 +1233,6 @@ int wsm_start_find(struct cw1200_common *priv); ...@@ -1240,8 +1233,6 @@ int wsm_start_find(struct cw1200_common *priv);
int wsm_stop_find(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 { struct wsm_suspend_resume {
/* See 3.52 */ /* See 3.52 */
/* Link ID */ /* Link ID */
...@@ -1256,9 +1247,6 @@ struct wsm_suspend_resume { ...@@ -1256,9 +1247,6 @@ struct wsm_suspend_resume {
/* [out] */ int queue; /* [out] */ int queue;
}; };
typedef void (*wsm_suspend_resume_cb) (struct cw1200_common *priv,
struct wsm_suspend_resume *arg);
/* 3.54 Update-IE request. */ /* 3.54 Update-IE request. */
struct wsm_update_ie { struct wsm_update_ie {
/* WSM_UPDATE_IE_... */ /* WSM_UPDATE_IE_... */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment