qapi: Inline and remove QERR_BUS_NO_HOTPLUG definition
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Tue, 12 Mar 2024 14:13:35 +0000 (15:13 +0100)
committerMarkus Armbruster <armbru@redhat.com>
Wed, 24 Apr 2024 07:50:58 +0000 (09:50 +0200)
commit7f65e789abf496480be6a54ba454dd6641b45784
tree32ff2ea5ff0a2914645394e63e57af47afb695f2
parent4a18751cf423970221d86853c6909696fae52785
qapi: Inline and remove QERR_BUS_NO_HOTPLUG 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!
   */

Mechanical transformation using sed, and manual cleanup.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Cédric Le Goater <clg@kaod.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
Message-ID: <20240312141343.3168265-3-armbru@redhat.com>
hw/ppc/spapr_pci.c
include/qapi/qmp/qerror.h
system/qdev-monitor.c