From: Daeseok Youn Date: Wed, 2 Jul 2014 07:06:37 +0000 (+0900) Subject: staging: dgap: remove "return" statement in void function X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=c10fccf82a1ba70302a749e9769d3b0fe526792e;p=linux-beck.git 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 --- 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; } /*