diff options
author | Markus Armbruster | 2018-10-17 10:26:52 +0200 |
---|---|---|
committer | Markus Armbruster | 2018-10-19 14:51:34 +0200 |
commit | 4f7ec696f4b124364c1b145dbe835984edc4c887 (patch) | |
tree | 35438ba1b9d254748a28b02429c6b844a2e34072 /hw/timer/grlib_gptimer.c | |
parent | vnc: Clean up error reporting in vnc_init_func() (diff) | |
download | qemu-4f7ec696f4b124364c1b145dbe835984edc4c887.tar.gz qemu-4f7ec696f4b124364c1b145dbe835984edc4c887.tar.xz qemu-4f7ec696f4b124364c1b145dbe835984edc4c887.zip |
numa: Clean up error reporting in parse_numa()
Calling error_report() in a function that takes an Error ** argument
is suspicious. parse_numa() 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.
While there, give parse_numa() internal linkage.
Cc: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20181017082702.5581-29-armbru@redhat.com>
Diffstat (limited to 'hw/timer/grlib_gptimer.c')
0 files changed, 0 insertions, 0 deletions