summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorRadek Dostal <rd@radekdostal.com>2014-06-14 14:13:09 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-06-18 22:25:56 (GMT)
commit9c079f7cdd87ca069ab157e7de95231b8b14baa8 (patch)
tree6ad4fccfcff3e9a04ed30d7bafefaf0c6f1cc2cd /drivers
parente22a955ca736d811e4014992cb88b59079f4d7c3 (diff)
downloadlinux-9c079f7cdd87ca069ab157e7de95231b8b14baa8.tar.xz
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/staging/fwserial/fwserial.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/staging/fwserial/fwserial.c b/drivers/staging/fwserial/fwserial.c
index 61eb304..af0c387 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,