diff options
author | Paul Fulghum <paulkf@microgate.com> | 2006-03-01 03:59:15 +0300 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-03-01 07:53:44 +0300 |
commit | 6af6aab34a88050c8270ef75ddbdefef5c1dca00 (patch) | |
tree | 95e5d813603b25bdad3b83f6c20ab7514caaf216 | |
parent | 1f050a19e122100507302a77f1969a014e21650e (diff) | |
download | linux-6af6aab34a88050c8270ef75ddbdefef5c1dca00.tar.xz |
[PATCH] tty buffering: comment out debug code
Comment out debug code in tty receive buffering. For performance reasons
(I'll keep it enabled in -mm).
Signed-off-by: Paul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-rw-r--r-- | drivers/char/tty_io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/tty_io.c b/drivers/char/tty_io.c index e9bba94fc898..53d3d066554e 100644 --- a/drivers/char/tty_io.c +++ b/drivers/char/tty_io.c @@ -303,7 +303,7 @@ static struct tty_buffer *tty_buffer_find(struct tty_struct *tty, size_t size) t->commit = 0; t->read = 0; /* DEBUG ONLY */ - memset(t->data, '*', size); +/* memset(t->data, '*', size); */ /* printk("Flip recycle %p\n", t); */ return t; } |