]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
staging: dgap: remove "return" statement in void function
authorDaeseok Youn <daeseok.youn@gmail.com>
Wed, 2 Jul 2014 07:06:37 +0000 (16:06 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Jul 2014 19:00:30 +0000 (12:00 -0700)
clean up checkpatch warning:
WARNING: void function return statements are not generally useful

Signed-off-by: Daeseok Youn <daeseok.youn@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/dgap/dgap.c

index 0036f353794ea2435a51f94bd0c022093088cbb1..b5ea9ff310ffd92b3e10b07ab75829b566938f89 100644 (file)
@@ -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;
 }
 
 /*