OSDN Git Service

staging: wilc1000: Remove useless return statement in a void function
authorJanani Ravichandran <janani.rvchndrn@gmail.com>
Sun, 14 Feb 2016 04:53:23 +0000 (23:53 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 15 Feb 2016 00:31:44 +0000 (16:31 -0800)
Remove the return statement at the end of the void function as it has
no purpose.

Signed-off-by: Janani Ravichandran <janani.rvchndrn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c

index 069fac1..698267e 100644 (file)
@@ -3850,8 +3850,6 @@ void wilc_scan_complete_received(struct wilc *wilc, u8 *pu8Buffer,
                if (result)
                        PRINT_ER("Error in sending message queue scan complete parameters: Error(%d)\n", result);
        }
-
-       return;
 }
 
 int wilc_remain_on_channel(struct wilc_vif *vif, u32 session_id,