diff options
author | Marc-André Lureau | 2016-10-22 11:52:46 +0200 |
---|---|---|
committer | Paolo Bonzini | 2016-10-24 15:27:20 +0200 |
commit | b4948be93e53c3b471666e51ce59303082626a2f (patch) | |
tree | c9a61704d7e1e752336bf2eec2b8a25136e2df77 /ui/gtk.c | |
parent | malta: replace chr init by CHR_EVENT_OPENED handler (diff) | |
download | qemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.gz qemu-b4948be93e53c3b471666e51ce59303082626a2f.tar.xz qemu-b4948be93e53c3b471666e51ce59303082626a2f.zip |
char: remove init callback
The CharDriverState.init() callback is no longer set since commit
a61ae7f88ce and thus unused. The only user, the malta FGPA display has
been converted to use an event "opened" callback instead.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-7-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/gtk.c')
-rw-r--r-- | ui/gtk.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1789,9 +1789,6 @@ static GSList *gd_vc_vte_init(GtkDisplayState *s, VirtualConsole *vc, gtk_label_new(vc->label)); qemu_chr_be_generic_open(vc->vte.chr); - if (vc->vte.chr->init) { - vc->vte.chr->init(vc->vte.chr); - } return group; } |