[5/6,OPW,kernel] staging: media: lirc: fix void function return statements
diff mbox

Message ID 0759352b1b5c82882e93a8c9e71c7453dea2a2a0.1411278275.git.tapaswenipathak@gmail.com
State New, archived
Headers show

Commit Message

Tapasweni Pathak Sept. 21, 2014, 6:22 a.m. UTC
This patch fixes checkpatch.pl warning in files of lirc
WARNING : void function return statements are not generally useful

Signed-off-by: Tapasweni Pathak <tapaswenipathak@gmail.com>
---
 drivers/staging/media/lirc/lirc_sasem.c |    3 ---
 drivers/staging/media/lirc/lirc_zilog.c |    1 -
 2 files changed, 0 insertions(+), 4 deletions(-)

--
1.7.0.4

Patch
diff mbox

diff --git a/drivers/staging/media/lirc/lirc_sasem.c b/drivers/staging/media/lirc/lirc_sasem.c
index c0b2c72..836a29a 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)
 	/* 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;
 }

 /**
diff --git a/drivers/staging/media/lirc/lirc_zilog.c b/drivers/staging/media/lirc/lirc_zilog.c
index e2e1236..e5984dd 100644
--- a/drivers/staging/media/lirc/lirc_zilog.c
+++ b/drivers/staging/media/lirc/lirc_zilog.c
@@ -512,7 +512,6 @@  static int set_use_inc(void *data)

 static void set_use_dec(void *data)
 {
-	return;
 }

 /* safe read of a uint32 (always network byte order) */