summaryrefslogtreecommitdiffstats
path: root/drivers/char/tty_io.c
diff options
context:
space:
mode:
authorPaul Fulghum <paulkf@microgate.com>2006-03-01 01:59:15 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-03-01 05:53:44 +0100
commit6af6aab34a88050c8270ef75ddbdefef5c1dca00 (patch)
tree95e5d813603b25bdad3b83f6c20ab7514caaf216 /drivers/char/tty_io.c
parent[PATCH] video1394: fix "return E;" typo (diff)
downloadlinux-6af6aab34a88050c8270ef75ddbdefef5c1dca00.tar.xz
linux-6af6aab34a88050c8270ef75ddbdefef5c1dca00.zip
[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>
Diffstat (limited to '')
-rw-r--r--drivers/char/tty_io.c2
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;
}