diff options
Diffstat (limited to 'drivers/char/tty_io.c')
-rw-r--r-- | drivers/char/tty_io.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index 8b2a59969868..bd74e82d8a72 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c | |||
@@ -2621,10 +2621,9 @@ int tty_ioctl(struct inode * inode, struct file * file, | |||
2621 | tty->driver->break_ctl(tty, 0); | 2621 | tty->driver->break_ctl(tty, 0); |
2622 | return 0; | 2622 | return 0; |
2623 | case TCSBRK: /* SVID version: non-zero arg --> no break */ | 2623 | case TCSBRK: /* SVID version: non-zero arg --> no break */ |
2624 | /* | 2624 | /* non-zero arg means wait for all output data |
2625 | * XXX is the above comment correct, or the | 2625 | * to be sent (performed above) but don't send break. |
2626 | * code below correct? Is this ioctl used at | 2626 | * This is used by the tcdrain() termios function. |
2627 | * all by anyone? | ||
2628 | */ | 2627 | */ |
2629 | if (!arg) | 2628 | if (!arg) |
2630 | return send_break(tty, 250); | 2629 | return send_break(tty, 250); |