projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.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
|
blame
|
history
diff --git
a/drivers/char/tty_io.c
b/drivers/char/tty_io.c
index e9bba94fc898388ff09bd8a9e2116442e07ca104..53d3d066554e556b4110398990294a12af9d1c97 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;
}