diff options
| author | Markus Armbruster <armbru@redhat.com> | 2018-10-17 10:26:48 +0200 |
|---|---|---|
| committer | Markus Armbruster <armbru@redhat.com> | 2018-10-19 14:51:34 +0200 |
| commit | cd65f34991f01c23c9e3e1691953b79e36a1b911 (patch) | |
| tree | 4037c1d558b66e21c864c58b1e61ab33be25316a /fsdev/qemu-fsdev.c | |
| parent | 406b6367e19cdaf4ad948c469f82875f8af24ab2 (diff) | |
| download | focaccia-qemu-cd65f34991f01c23c9e3e1691953b79e36a1b911.tar.gz focaccia-qemu-cd65f34991f01c23c9e3e1691953b79e36a1b911.zip | |
vl: Clean up error reporting in device_init_func()
Calling error_report() in a function that takes an Error ** argument is suspicious. device_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> Message-Id: <20181017082702.5581-25-armbru@redhat.com>
Diffstat (limited to 'fsdev/qemu-fsdev.c')
0 files changed, 0 insertions, 0 deletions