Commit 05cb0ed7 authored by Alison Schofield's avatar Alison Schofield Committed by Greg Kroah-Hartman

staging: wilc1000: remove code for HOST_IF_MSG_Q_IDLE

The function that sent this message id was previously removed.
Finish the cleanup by removing the call to the message handler,
the message handler, and the #define.
Signed-off-by: default avatarAlison Schofield <amsfield22@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6c2ea946
...@@ -41,7 +41,6 @@ ...@@ -41,7 +41,6 @@
#define HOST_IF_MSG_GET_STATISTICS 31 #define HOST_IF_MSG_GET_STATISTICS 31
#define HOST_IF_MSG_SET_MULTICAST_FILTER 32 #define HOST_IF_MSG_SET_MULTICAST_FILTER 32
#define HOST_IF_MSG_DEL_BA_SESSION 34 #define HOST_IF_MSG_DEL_BA_SESSION 34
#define HOST_IF_MSG_Q_IDLE 35
#define HOST_IF_MSG_DEL_ALL_STA 36 #define HOST_IF_MSG_DEL_ALL_STA 36
#define HOST_IF_MSG_SET_TX_POWER 38 #define HOST_IF_MSG_SET_TX_POWER 38
#define HOST_IF_MSG_GET_TX_POWER 39 #define HOST_IF_MSG_GET_TX_POWER 39
...@@ -755,12 +754,6 @@ static s32 handle_cfg_param(struct wilc_vif *vif, ...@@ -755,12 +754,6 @@ static s32 handle_cfg_param(struct wilc_vif *vif,
return result; return result;
} }
static void Handle_wait_msg_q_empty(void)
{
wilc_initialized = 0;
up(&hif_sema_wait_response);
}
static s32 Handle_ScanDone(struct wilc_vif *vif, static s32 Handle_ScanDone(struct wilc_vif *vif,
enum scan_event enuEvent); enum scan_event enuEvent);
...@@ -2549,10 +2542,6 @@ static int hostIFthread(void *pvArg) ...@@ -2549,10 +2542,6 @@ static int hostIFthread(void *pvArg)
} }
switch (msg.id) { switch (msg.id) {
case HOST_IF_MSG_Q_IDLE:
Handle_wait_msg_q_empty();
break;
case HOST_IF_MSG_SCAN: case HOST_IF_MSG_SCAN:
Handle_Scan(msg.vif, &msg.body.scan_info); Handle_Scan(msg.vif, &msg.body.scan_info);
break; break;
......
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