From c10fccf82a1ba70302a749e9769d3b0fe526792e Mon Sep 17 00:00:00 2001 From: Daeseok Youn Date: Wed, 2 Jul 2014 16:06:37 +0900 Subject: [PATCH] staging: dgap: remove "return" statement in void function clean up checkpatch warning: WARNING: void function return statements are not generally useful Signed-off-by: Daeseok Youn Signed-off-by: Greg Kroah-Hartman --- drivers/staging/dgap/dgap.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/staging/dgap/dgap.c b/drivers/staging/dgap/dgap.c index 0036f353794e..b5ea9ff310ff 100644 --- a/drivers/staging/dgap/dgap.c +++ b/drivers/staging/dgap/dgap.c @@ -3077,8 +3077,6 @@ static void dgap_tty_send_xchar(struct tty_struct *tty, char c) spin_unlock_irqrestore(&ch->ch_lock, lock_flags2); spin_unlock_irqrestore(&bd->bd_lock, lock_flags); - - return; } /* -- 2.20.1