Ver Fonte

tty: remove unneeded return statement

Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Guillaume Gomez há 9 anos atrás
pai
commit
52772ea615
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      drivers/tty/tty_ldisc.c

+ 1 - 1
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)
 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
 static int __lockfunc