This is an automatic generated email to let you know that the following patch 
were queued at the 
http://git.linuxtv.org/media_tree.git tree:

Subject: [media] staging: lirc: remove return void function
Author:  Raphael Poggi <[email protected]>
Date:    Tue Jul 1 04:12:34 2014 -0300

This patch fix checkpath "WARNING: void function return statements are not 
generally useful".
The removed return were useless in that case.

Signed-off-by: RaphaĆ«l Poggi <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>

 drivers/staging/media/lirc/lirc_imon.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)

---

http://git.linuxtv.org/media_tree.git?a=commitdiff;h=280373533f5b04372ec99dee0459b3bf70ea604f

diff --git a/drivers/staging/media/lirc/lirc_imon.c 
b/drivers/staging/media/lirc/lirc_imon.c
index f8c3375..96c76b3 100644
--- a/drivers/staging/media/lirc/lirc_imon.c
+++ b/drivers/staging/media/lirc/lirc_imon.c
@@ -482,8 +482,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;
 }
 
 /**
@@ -548,7 +546,6 @@ static void ir_close(void *data)
        }
 
        mutex_unlock(&context->ctx_lock);
-       return;
 }
 
 /**
@@ -573,7 +570,6 @@ static void submit_data(struct imon_context *context)
 
        lirc_buffer_write(context->driver->rbuf, buf);
        wake_up(&context->driver->rbuf->wait_poll);
-       return;
 }
 
 static inline int tv2int(const struct timeval *a, const struct timeval *b)
@@ -709,8 +705,6 @@ static void usb_rx_callback(struct urb *urb)
        }
 
        usb_submit_urb(context->rx_urb, GFP_ATOMIC);
-
-       return;
 }
 
 /**

_______________________________________________
linuxtv-commits mailing list
[email protected]
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to