diff options
author | Marc-André Lureau | 2021-07-22 17:47:08 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-09-14 14:53:55 +0200 |
commit | 5eed493d01c3253a24ffa71c61e07dacad41cf05 (patch) | |
tree | 5b56e436dd9986f3ab8a82365cb3a49d5287f3a5 /include | |
parent | chardev: Propagate error from logfile opening (diff) | |
download | qemu-5eed493d01c3253a24ffa71c61e07dacad41cf05.tar.gz qemu-5eed493d01c3253a24ffa71c61e07dacad41cf05.tar.xz qemu-5eed493d01c3253a24ffa71c61e07dacad41cf05.zip |
chardev: remove needless class method
"chr_option_parsed" is only implemented by the "mux" chardev, we can
specialize the code there to avoid the needless generic class method.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/chardev/char.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/chardev/char.h b/include/chardev/char.h index 7c0444f90d..589e7fe46d 100644 --- a/include/chardev/char.h +++ b/include/chardev/char.h @@ -273,7 +273,6 @@ struct ChardevClass { void (*chr_set_echo)(Chardev *chr, bool echo); void (*chr_set_fe_open)(Chardev *chr, int fe_open); void (*chr_be_event)(Chardev *s, QEMUChrEvent event); - void (*chr_options_parsed)(Chardev *chr); }; Chardev *qemu_chardev_new(const char *id, const char *typename, |