staging: rtl8192u: remove return from end of void function
authorSupriya Karanth <iskaranth@gmail.com>
Sun, 15 Mar 2015 03:42:52 +0000 (12:42 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 16 Mar 2015 14:56:46 +0000 (15:56 +0100)
commitf883c4ca5e6948de4fd461ca4a4fbb15aff8bbff
treec570ab7f30994585270a6a98caee66fc095bfd84
parent2060f31ae58ea5510c432fed8a32bdef33ac4cd7
staging: rtl8192u: remove return from end of void function

This patch removes the return statement at the end of a void
function as it is not necessary.

found by checkpatch.pl: WARNING: void function return statements
are not generally useful

changes made using coccinelle script:

@@
@@

... when != if (...) return;
    when != if (...) { ... return;}
-return;

Signed-off-by: Supriya Karanth <iskaranth@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtl8192u/r8192U_core.c