staging: media: lirc: Fix unnecessary return warning.
authorGulsah Kose <gulsah.1004@gmail.com>
Sat, 20 Sep 2014 21:59:11 +0000 (00:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 20 Sep 2014 00:39:45 +0000 (17:39 -0700)
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>
drivers/staging/media/lirc/lirc_sasem.c

index 81f90e17e1e67f792e4e5d5da6875e4c2d7e7714..d5a1641cb728236f8bf995530b673953dd61065a 100644 (file)
@@ -474,8 +474,6 @@ static void usb_tx_callback(struct urb *urb)
        /* notify waiters that write has finished */
        atomic_set(&context->tx.busy, 0);
        complete(&context->tx.finished);
-
-       return;
 }
 
 /**
@@ -562,7 +560,6 @@ static void ir_close(void *data)
        }
 
        mutex_unlock(&context->ctx_lock);
-       return;
 }
 
 /**
@@ -664,7 +661,6 @@ static void usb_rx_callback(struct urb *urb)
        }
 
        usb_submit_urb(context->rx_urb, GFP_ATOMIC);
-       return;
 }