Commit 9c079f7c authored by Radek Dostal's avatar Radek Dostal Committed by Greg Kroah-Hartman

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: default avatarRadek Dostal <rd@radekdostal.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent e22a955c
......@@ -2615,7 +2615,6 @@ static void fwserial_handle_plug_req(struct work_struct *work)
if (port)
fwserial_release_port(port, false);
kfree(pkt);
return;
}
static void fwserial_handle_unplug_req(struct work_struct *work)
......@@ -2667,7 +2666,6 @@ static void fwserial_handle_unplug_req(struct work_struct *work)
if (port)
fwserial_release_port(port, true);
kfree(pkt);
return;
}
static int fwserial_parse_mgmt_write(struct fwtty_peer *peer,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment