Commit 7aaaabd5 authored by Ajay Singh's avatar Ajay Singh Committed by Greg Kroah-Hartman

staging: wilc1000: remove handle_hif_exit_work() function

Cleanup to remove handle_hif_exit_work(), as after code refactoring its
not required anymore.
Signed-off-by: default avatarAjay Singh <ajay.kathat@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a53b0b13
...@@ -2593,14 +2593,6 @@ static void handle_remain_on_chan_work(struct work_struct *work) ...@@ -2593,14 +2593,6 @@ static void handle_remain_on_chan_work(struct work_struct *work)
kfree(msg); kfree(msg);
} }
static void handle_hif_exit_work(struct work_struct *work)
{
struct host_if_msg *msg = container_of(work, struct host_if_msg, work);
/* free 'msg' data in caller */
complete(&msg->work_comp);
}
static void handle_scan_complete(struct work_struct *work) static void handle_scan_complete(struct work_struct *work)
{ {
struct host_if_msg *msg = container_of(work, struct host_if_msg, work); struct host_if_msg *msg = container_of(work, struct host_if_msg, work);
......
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