diff options
author | Markus Armbruster <armbru@redhat.com> | 2018-10-17 10:26:44 +0200 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2018-10-19 14:51:34 +0200 |
commit | dd4af97733401e200c39184ecca4c8eabb222637 (patch) | |
tree | 755537084c7a2142e868633d178115b507e0e4db /chardev/char-serial.c | |
parent | 7e1e0c11127bde81cff260fc6859690435c509d6 (diff) |
vl: Clean up error reporting in chardev_init_func()
Calling error_report() in a function that takes an Error ** argument
is suspicious. chardev_init_func() does that, and then fails without
setting an error. Its caller main(), via qemu_opts_foreach(), is fine
with it, but clean it up anyway.
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20181017082702.5581-21-armbru@redhat.com>
Diffstat (limited to 'chardev/char-serial.c')
0 files changed, 0 insertions, 0 deletions