commit | 52772ea61594e83118218e3c151eb2b893245059 | [log] [tgz] |
---|---|---|
author | Guillaume Gomez <guillaume1.gomez@gmail.com> | Sun Oct 04 21:19:18 2015 +0200 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sat Oct 17 21:29:21 2015 -0700 |
tree | 93743a8a31430d481f4401fb841e20793ae0b870 | |
parent | 6ede6dcd87aa32787f077b6556dce6b0de7d91e6 [diff] |
tty: remove unneeded return statement Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
diff --git a/drivers/tty/tty_ldisc.c b/drivers/tty/tty_ldisc.c index 71750cb..5af8f18 100644 --- a/drivers/tty/tty_ldisc.c +++ b/drivers/tty/tty_ldisc.c
@@ -319,7 +319,7 @@ 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