aboutsummaryrefslogtreecommitdiff
path: root/chardev/char-fe.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2019-02-06 18:43:23 +0100
committerMarc-André Lureau <marcandre.lureau@redhat.com>2019-02-13 15:36:14 +0100
commit3d9e232240f9d029d7255b5b11d3a2f61c53d0d0 (patch)
tree4a62cd65b664caad8132f4156d77097ddc871483 /chardev/char-fe.c
parent129263c6c08407747753c0c1f715917107cbcb3f (diff)
downloadqemu-3d9e232240f9d029d7255b5b11d3a2f61c53d0d0.zip
qemu-3d9e232240f9d029d7255b5b11d3a2f61c53d0d0.tar.gz
qemu-3d9e232240f9d029d7255b5b11d3a2f61c53d0d0.tar.bz2
char: update the mux handlers in class callback
Instead of handling mux chardev in a special way in qemu_chr_fe_set_handlers(), we may use the chr_update_read_handler class callback instead. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20190206174328.9736-2-marcandre.lureau@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'chardev/char-fe.c')
-rw-r--r--chardev/char-fe.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/chardev/char-fe.c b/chardev/char-fe.c
index b7bcbd5..f3530a9 100644
--- a/chardev/char-fe.c
+++ b/chardev/char-fe.c
@@ -290,10 +290,6 @@ void qemu_chr_fe_set_handlers_full(CharBackend *b,
qemu_chr_be_event(s, CHR_EVENT_OPENED);
}
}
-
- if (CHARDEV_IS_MUX(s)) {
- mux_chr_set_handlers(s, context);
- }
}
void qemu_chr_fe_set_handlers(CharBackend *b,