summaryrefslogtreecommitdiff
path: root/drivers/usb/serial/empeg.c
diff options
context:
space:
mode:
authorOliver Neukum <oliver@neukum.org>2009-04-20 15:28:53 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2009-04-23 21:15:29 (GMT)
commit2400a2bfbd0e912193fe3b077f492d4980141813 (patch)
treee2e1bcc34252c14662c80df15c44703ead9d589c /drivers/usb/serial/empeg.c
parent212b8f0c3f5a2280bfa1d6ab13a6fe98552becaa (diff)
downloadlinux-2400a2bfbd0e912193fe3b077f492d4980141813.tar.xz
USB: removal of tty->low_latency hack dating back to the old serial code
This removes tty->low_latency from all USB serial drivers that push data into the tty layer at hard interrupt context. It's no longer needed and actually harmful. Signed-off-by: Oliver Neukum <oliver@neukum.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/serial/empeg.c')
-rw-r--r--drivers/usb/serial/empeg.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/usb/serial/empeg.c b/drivers/usb/serial/empeg.c
index 8a69cce..c709ec4 100644
--- a/drivers/usb/serial/empeg.c
+++ b/drivers/usb/serial/empeg.c
@@ -478,12 +478,6 @@ static void empeg_set_termios(struct tty_struct *tty,
termios->c_cflag
|= CS8; /* character size 8 bits */
- /*
- * Force low_latency on; otherwise the pushes are scheduled;
- * this is bad as it opens up the possibility of dropping bytes
- * on the floor. We don't want to drop bytes on the floor. :)
- */
- tty->low_latency = 1;
tty_encode_baud_rate(tty, 115200, 115200);
}