diff options
author | Gulsah Kose <gulsah.1004@gmail.com> | 2014-09-20 17:59:11 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-19 20:39:45 -0400 |
commit | a87ba73ed10266dba8278b2a6b89da597a38092a (patch) | |
tree | 4b4e50c708b71f4b73267c0b7d62d51ecb442744 | |
parent | fd8392f3097140a9db7b0903a63635e652b6eb45 (diff) |
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: Gulsah Kose <gulsah.1004@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/staging/media/lirc/lirc_sasem.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/staging/media/lirc/lirc_sasem.c b/drivers/staging/media/lirc/lirc_sasem.c index 81f90e17e1e6..d5a1641cb728 100644 --- a/drivers/staging/media/lirc/lirc_sasem.c +++ b/drivers/staging/media/lirc/lirc_sasem.c | |||
@@ -474,8 +474,6 @@ static void usb_tx_callback(struct urb *urb) | |||
474 | /* notify waiters that write has finished */ | 474 | /* notify waiters that write has finished */ |
475 | atomic_set(&context->tx.busy, 0); | 475 | atomic_set(&context->tx.busy, 0); |
476 | complete(&context->tx.finished); | 476 | complete(&context->tx.finished); |
477 | |||
478 | return; | ||
479 | } | 477 | } |
480 | 478 | ||
481 | /** | 479 | /** |
@@ -562,7 +560,6 @@ static void ir_close(void *data) | |||
562 | } | 560 | } |
563 | 561 | ||
564 | mutex_unlock(&context->ctx_lock); | 562 | mutex_unlock(&context->ctx_lock); |
565 | return; | ||
566 | } | 563 | } |
567 | 564 | ||
568 | /** | 565 | /** |
@@ -664,7 +661,6 @@ static void usb_rx_callback(struct urb *urb) | |||
664 | } | 661 | } |
665 | 662 | ||
666 | usb_submit_urb(context->rx_urb, GFP_ATOMIC); | 663 | usb_submit_urb(context->rx_urb, GFP_ATOMIC); |
667 | return; | ||
668 | } | 664 | } |
669 | 665 | ||
670 | 666 | ||