projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
95ea90d
)
n_tty: Remove stale read lock comment
author
Peter Hurley
<
[email protected]
>
Thu, 16 Oct 2014 19:36:38 +0000
(15:36 -0400)
committer
Greg Kroah-Hartman
<
[email protected]
>
Thu, 6 Nov 2014 00:34:36 +0000
(16:34 -0800)
The stale comment refers to lock behavior which was eliminated in
commit
6d76bd2618535c581f1673047b8341fd291abc67
,
n_tty: Make N_TTY ldisc receive path lockless.
Signed-off-by: Peter Hurley <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/tty/n_tty.c
patch
|
blob
|
history
diff --git
a/drivers/tty/n_tty.c
b/drivers/tty/n_tty.c
index 6dcaa5294f1ef2fe5b61d7f1cbb685679b87da4f..0cb0e12f87c741975b975df3bd856446b82fd465 100644
(file)
--- a/
drivers/tty/n_tty.c
+++ b/
drivers/tty/n_tty.c
@@
-2248,8
+2248,6
@@
static ssize_t n_tty_read(struct tty_struct *tty, struct file *file,
nr--;
}
- /* The copy function takes the read lock and handles
- locking internally for this case */
uncopied = copy_from_read_buf(tty, &b, &nr);
uncopied += copy_from_read_buf(tty, &b, &nr);
if (uncopied) {