mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
char: remove init callback
The CharDriverState.init() callback is no longer set since commit
a61ae7f88c
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>
This commit is contained in:
parent
9850b05d21
commit
b4948be93e
21 changed files with 34 additions and 48 deletions
|
@ -2033,8 +2033,6 @@ static void text_console_do_init(CharDriverState *chr, DisplayState *ds)
|
|||
}
|
||||
|
||||
qemu_chr_be_generic_open(chr);
|
||||
if (chr->init)
|
||||
chr->init(chr);
|
||||
}
|
||||
|
||||
static CharDriverState *text_console_init(ChardevVC *vc, Error **errp)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue