Skip to content

Commit

Permalink
[PATCH] tty buffering: comment out debug code
Browse files Browse the repository at this point in the history
Comment out debug code in tty receive buffering.  For performance reasons
(I'll keep it enabled in -mm).

Signed-off-by: Paul Fulghum <[email protected]>
Cc: Alan Cox <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Paul Fulghum authored and Linus Torvalds committed Mar 1, 2006
1 parent 1f050a1 commit 6af6aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/tty_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6af6aab

Please sign in to comment.