From: Paul Fulghum Fix TCSBRK comment to prevent confusion or accidental removal. Signed-off-by: Paul Fulghum Cc: Alan Cox Signed-off-by: Andrew Morton --- drivers/char/tty_io.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff -puN drivers/char/tty_io.c~tty-fix-tcsbrk-comment drivers/char/tty_io.c --- a/drivers/char/tty_io.c~tty-fix-tcsbrk-comment +++ a/drivers/char/tty_io.c @@ -2617,10 +2617,9 @@ int tty_ioctl(struct inode * inode, stru tty->driver->break_ctl(tty, 0); return 0; case TCSBRK: /* SVID version: non-zero arg --> no break */ - /* - * XXX is the above comment correct, or the - * code below correct? Is this ioctl used at - * all by anyone? + /* non-zero arg means wait for all output data + * to be sent (performed above) but don't send break. + * This is used by the tcdrain() termios function. */ if (!arg) return send_break(tty, 250); _