diff options
author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-03-12 15:13:43 +0100 |
---|---|---|
committer | Markus Armbruster <armbru@redhat.com> | 2024-04-24 09:50:58 +0200 |
commit | be842efbe3102c6aa1980039f6d4a8f997f1ff8c (patch) | |
tree | acc026363fe8b7790a549243e7a4c1fc489c8d9a /include/qapi | |
parent | 005807860d3e1498ee591223db38f90d2c736165 (diff) | |
download | qemu-be842efbe3102c6aa1980039f6d4a8f997f1ff8c.zip qemu-be842efbe3102c6aa1980039f6d4a8f997f1ff8c.tar.gz qemu-be842efbe3102c6aa1980039f6d4a8f997f1ff8c.tar.bz2 |
qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definition
Address the comment added in commit 4629ed1e98
("qerror: Finally unused, clean up"), from 2015:
/*
* These macros will go away, please don't use
* in new code, and do not add new ones!
*/
Manual change. Remove the definition in
include/qapi/qmp/qerror.h.
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240312141343.3168265-11-armbru@redhat.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Diffstat (limited to 'include/qapi')
-rw-r--r-- | include/qapi/qmp/qerror.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/qapi/qmp/qerror.h b/include/qapi/qmp/qerror.h index 385a487..00b18e9 100644 --- a/include/qapi/qmp/qerror.h +++ b/include/qapi/qmp/qerror.h @@ -26,9 +26,6 @@ #define QERR_MISSING_PARAMETER \ "Parameter '%s' is missing" -#define QERR_PROPERTY_VALUE_BAD \ - "Property '%s.%s' doesn't take value '%s'" - #define QERR_PROPERTY_VALUE_OUT_OF_RANGE \ "Property %s.%s doesn't take value %" PRId64 " (minimum: %" PRId64 ", maximum: %" PRId64 ")" |