From: Radek Dostal Date: Sat, 14 Jun 2014 14:13:09 +0000 (+0200) Subject: staging/fwserial: (coding style) remove not needed return statements X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=9c079f7cdd87ca069ab157e7de95231b8b14baa8;p=deliverable%2Flinux.git 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c index 61eb304860e1..af0c3878358c 100644 --- a/drivers/staging/fwserial/fwserial.c +++ b/drivers/staging/fwserial/fwserial.c @@ -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,