mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-06 19:07:52 +00:00
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>
This commit is contained in:
parent
e22a955ca7
commit
9c079f7cdd
1 changed files with 0 additions and 2 deletions
|
@ -2615,7 +2615,6 @@ static void fwserial_handle_plug_req(struct work_struct *work)
|
||||||
if (port)
|
if (port)
|
||||||
fwserial_release_port(port, false);
|
fwserial_release_port(port, false);
|
||||||
kfree(pkt);
|
kfree(pkt);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void fwserial_handle_unplug_req(struct work_struct *work)
|
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)
|
if (port)
|
||||||
fwserial_release_port(port, true);
|
fwserial_release_port(port, true);
|
||||||
kfree(pkt);
|
kfree(pkt);
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static int fwserial_parse_mgmt_write(struct fwtty_peer *peer,
|
static int fwserial_parse_mgmt_write(struct fwtty_peer *peer,
|
||||||
|
|
Loading…
Reference in a new issue