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: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Ajay Singh 2018-09-04 12:09:42 +05:30 committed by Greg Kroah-Hartman
parent a53b0b1392
commit 7aaaabd50d

View File

@ -2593,14 +2593,6 @@ static void handle_remain_on_chan_work(struct work_struct *work)
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)
{
struct host_if_msg *msg = container_of(work, struct host_if_msg, work);