]> git.karo-electronics.de Git - linux-beck.git/commitdiff
staging: wilc1000: remove return type of Handle_wait_msg_q_empty
authorLeo Kim <leo.kim@atmel.com>
Thu, 5 Nov 2015 05:36:08 +0000 (14:36 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Nov 2015 04:02:47 +0000 (20:02 -0800)
This patch changes return type of Handle_wait_msg_q_empty from s32 with void
because return value is not used.

Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Glen Lee <glen.lee@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 9b986bb0f16c463821f6aab75c24189718ff73a6..8494a032eb72266c63763115eb5096f73ba20a96 100644 (file)
@@ -813,11 +813,10 @@ ERRORHANDLER:
        return result;
 }
 
-static s32 Handle_wait_msg_q_empty(void)
+static void Handle_wait_msg_q_empty(void)
 {
        g_wilc_initialized = 0;
        up(&hif_sema_wait_response);
-       return 0;
 }
 
 static s32 Handle_Scan(struct host_if_drv *hif_drv,