qapi: Inline and remove QERR_PROPERTY_VALUE_BAD definitionpull-error-2024-04-24
commitbe842efbe3102c6aa1980039f6d4a8f997f1ff8c
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Mar 2024 14:13:43 +0000 (12 15:13 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 24 Apr 2024 07:50:58 +0000 (24 09:50 +0200)
treeacc026363fe8b7790a549243e7a4c1fc489c8d9a
parent005807860d3e1498ee591223db38f90d2c736165
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>
hw/core/qdev-properties.c
include/qapi/qmp/qerror.h