]> git.openfabrics.org - ~emulex/infiniband.git/commitdiff
staging/fwserial: (coding style) remove not needed return statements
authorRadek Dostal <rd@radekdostal.com>
Sat, 14 Jun 2014 14:13:09 +0000 (16:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Jun 2014 22:25:56 +0000 (15:25 -0700)
Style-only modifications to make checkpatch.pl -f a bit happier.
Fixes warning: "void function return statements are not generally useful"

Signed-off-by: Radek Dostal <rd@radekdostal.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/fwserial/fwserial.c

index 61eb304860e1d57cbae0c77c91972224e470fbaf..af0c3878358cb991ccb792d8d66fc51cc0227ad1 100644 (file)
@@ -2615,7 +2615,6 @@ cleanup:
        if (port)
                fwserial_release_port(port, false);
        kfree(pkt);
-       return;
 }
 
 static void fwserial_handle_unplug_req(struct work_struct *work)
@@ -2667,7 +2666,6 @@ cleanup:
        if (port)
                fwserial_release_port(port, true);
        kfree(pkt);
-       return;
 }
 
 static int fwserial_parse_mgmt_write(struct fwtty_peer *peer,