From: Guillaume Gomez Date: Sun, 4 Oct 2015 19:19:18 +0000 (+0200) Subject: tty: remove unneeded return statement X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=52772ea61594e83118218e3c151eb2b893245059;p=linux-beck.git tty: remove unneeded return statement Signed-off-by: Guillaume Gomez Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 71750cbac31f..5af8f1874c1a 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c @@ -319,7 +319,7 @@ __tty_ldisc_lock_nested(struct tty_struct *tty, unsigned long timeout) static inline void __tty_ldisc_unlock(struct tty_struct *tty) { - return ldsem_up_write(&tty->ldisc_sem); + ldsem_up_write(&tty->ldisc_sem); } static int __lockfunc