Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging/fwserial: (coding style) remove not needed return statements

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>

authored by

Radek Dostal and committed by
Greg Kroah-Hartman
9c079f7c e22a955c

-2
-2
drivers/staging/fwserial/fwserial.c
··· 2615 2615 if (port) 2616 2616 fwserial_release_port(port, false); 2617 2617 kfree(pkt); 2618 - return; 2619 2618 } 2620 2619 2621 2620 static void fwserial_handle_unplug_req(struct work_struct *work) ··· 2666 2667 if (port) 2667 2668 fwserial_release_port(port, true); 2668 2669 kfree(pkt); 2669 - return; 2670 2670 } 2671 2671 2672 2672 static int fwserial_parse_mgmt_write(struct fwtty_peer *peer,