Commit a5613fe8 authored by Gulsah Kose's avatar Gulsah Kose Committed by Greg Kroah-Hartman

staging: media: lirc: Fixes unnecessary return warning.

This patch fixes "void function return statements are not generally
useful" checkpatch.pl warning in lirc_zilog.c
Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent a17ec4c9
...@@ -258,7 +258,6 @@ static void release_ir_rx(struct kref *ref) ...@@ -258,7 +258,6 @@ static void release_ir_rx(struct kref *ref)
/* Don't put_ir_device(rx->ir) here; lock can't be freed yet */ /* Don't put_ir_device(rx->ir) here; lock can't be freed yet */
ir->rx = NULL; ir->rx = NULL;
/* Don't do the kfree(rx) here; we still need to kill the poll thread */ /* Don't do the kfree(rx) here; we still need to kill the poll thread */
return;
} }
static int put_ir_rx(struct IR_rx *rx, bool ir_devices_lock_held) static int put_ir_rx(struct IR_rx *rx, bool ir_devices_lock_held)
...@@ -512,7 +511,6 @@ static int set_use_inc(void *data) ...@@ -512,7 +511,6 @@ static int set_use_inc(void *data)
static void set_use_dec(void *data) static void set_use_dec(void *data)
{ {
return;
} }
/* safe read of a uint32 (always network byte order) */ /* safe read of a uint32 (always network byte order) */
......
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