projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f050a1
)
[PATCH] tty buffering: comment out debug code
author
Paul Fulghum
<paulkf@microgate.com>
Wed, 1 Mar 2006 00:59:15 +0000
(16:59 -0800)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 1 Mar 2006 04:53:44 +0000
(20:53 -0800)
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>
drivers/char/tty_io.c
patch
|
blob
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index
e9bba94
..
53d3d06
100644
(file)
--- 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;
}