Commit 52772ea6 authored by Guillaume Gomez's avatar Guillaume Gomez Committed by Greg Kroah-Hartman

tty: remove unneeded return statement

Signed-off-by: default avatarGuillaume Gomez <guillaume1.gomez@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6ede6dcd
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment