chardev: remove needless class method
commit5eed493d01c3253a24ffa71c61e07dacad41cf05
authorMarc-André Lureau <marcandre.lureau@redhat.com>
Thu, 22 Jul 2021 15:47:08 +0000 (22 19:47 +0400)
committerMarc-André Lureau <marcandre.lureau@redhat.com>
Tue, 14 Sep 2021 12:53:55 +0000 (14 16:53 +0400)
tree5b56e436dd9986f3ab8a82365cb3a49d5287f3a5
parent692277f38dcfe6fff47825d14586424f45b4dfd8
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>
chardev/char-mux.c
include/chardev/char.h