staging: wilc1000: remove handle_hif_exit_work() function
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:42 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 16:06:51 +0000 (18:06 +0200)
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>
drivers/staging/wilc1000/host_interface.c

index 85113fb..5388be9 100644 (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);