tty: remove unneeded return statement
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
6ede6dcd87
commit
52772ea615
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue