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

staging: media: lirc: Fix unnecessary return warning.

This patch fixes "void function return statements are not generally
useful" checkpatch.pl warning in lirc_sasem.c
Signed-off-by: default avatarGulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent fd8392f3
...@@ -474,8 +474,6 @@ static void usb_tx_callback(struct urb *urb) ...@@ -474,8 +474,6 @@ static void usb_tx_callback(struct urb *urb)
/* notify waiters that write has finished */ /* notify waiters that write has finished */
atomic_set(&context->tx.busy, 0); atomic_set(&context->tx.busy, 0);
complete(&context->tx.finished); complete(&context->tx.finished);
return;
} }
/** /**
...@@ -562,7 +560,6 @@ static void ir_close(void *data) ...@@ -562,7 +560,6 @@ static void ir_close(void *data)
} }
mutex_unlock(&context->ctx_lock); mutex_unlock(&context->ctx_lock);
return;
} }
/** /**
...@@ -664,7 +661,6 @@ static void usb_rx_callback(struct urb *urb) ...@@ -664,7 +661,6 @@ static void usb_rx_callback(struct urb *urb)
} }
usb_submit_urb(context->rx_urb, GFP_ATOMIC); usb_submit_urb(context->rx_urb, GFP_ATOMIC);
return;
} }
......
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