提交 6af6aab3 编写于 作者: P Paul Fulghum 提交者: Linus Torvalds

[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: NPaul Fulghum <paulkf@microgate.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: NAndrew Morton <akpm@osdl.org>
Signed-off-by: NLinus Torvalds <torvalds@osdl.org>
上级 1f050a19
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册