summaryrefslogtreecommitdiff
path: root/qemu-char.c
diff options
context:
space:
mode:
Diffstat (limited to 'qemu-char.c')
-rw-r--r--qemu-char.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/qemu-char.c b/qemu-char.c
index b0e4b41bcc..2f59a61429 100644
--- a/qemu-char.c
+++ b/qemu-char.c
@@ -2678,11 +2678,6 @@ static int cirmem_chr_write(CharDriverState *chr, const uint8_t *buf, int len)
}
for (i = 0; i < len; i++ ) {
- /* Avoid writing the IAC information to the queue. */
- if ((unsigned char)buf[i] == IAC) {
- continue;
- }
-
d->cbuf[d->prod++ % d->size] = buf[i];
if ((d->prod - d->cons) > d->size) {
d->cons = d->prod - d->size;