|
@@ -2248,8 +2248,6 @@ static ssize_t n_tty_read(struct tty_struct *tty, struct file *file,
|
|
nr--;
|
|
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);
|
|
uncopied += copy_from_read_buf(tty, &b, &nr);
|
|
uncopied += copy_from_read_buf(tty, &b, &nr);
|
|
if (uncopied) {
|
|
if (uncopied) {
|