projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6ede6dc
)
tty: remove unneeded return statement
author
Guillaume Gomez
<guillaume1.gomez@gmail.com>
Sun, 4 Oct 2015 19:19:18 +0000
(21:19 +0200)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Sun, 18 Oct 2015 04:29:21 +0000
(21:29 -0700)
Signed-off-by: Guillaume Gomez <guillaume1.gomez@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/tty_ldisc.c
patch
|
blob
|
history
diff --git
a/drivers/tty/tty_ldisc.c
b/drivers/tty/tty_ldisc.c
index 71750cbac31f745a6a899bc598cf0af1b84556b2..5af8f1874c1aab02fc16dbb0950d7264caa282ca 100644
(file)
--- 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