mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-01 14:53:54 -06:00
qerror.h: Remove QERR defines that are only used once
Just hardcode them in the callers Cc: Luiz Capitulino <lcapitulino@redhat.com> Cc: Markus Armbruster <armbru@redhat.com> Signed-off-by: Cole Robinson <crobinso@redhat.com> Reviewed-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: Luiz Capitulino <lcapitulino@redhat.com>
This commit is contained in:
parent
d73f0beadb
commit
f231b88db1
15 changed files with 37 additions and 91 deletions
|
@ -20,7 +20,7 @@ static QemuOptsList *find_list(QemuOptsList **lists, const char *group,
|
|||
break;
|
||||
}
|
||||
if (lists[i] == NULL) {
|
||||
error_set(errp, QERR_INVALID_OPTION_GROUP, group);
|
||||
error_setg(errp, "There is no option group '%s'", group);
|
||||
}
|
||||
return lists[i];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue