diff options
| author | Eduardo Habkost | 2020-08-25 21:20:20 +0200 |
|---|---|---|
| committer | Eduardo Habkost | 2020-08-27 20:04:54 +0200 |
| commit | 08e14bb7e060daa4415e52c85047b9332db0c9b0 (patch) | |
| tree | 31d974788eea53c81916b5671541904bacb40288 /include | |
| parent | nubus: Delete unused NUBUS_BRIDGE macro (diff) | |
| download | qemu-08e14bb7e060daa4415e52c85047b9332db0c9b0.tar.gz qemu-08e14bb7e060daa4415e52c85047b9332db0c9b0.tar.xz qemu-08e14bb7e060daa4415e52c85047b9332db0c9b0.zip | |
platform-bus: Delete macros for non-existing typedef
PlatformBusDeviceClass doesn't exist. This will break when we
automatically convert the code to use OBJECT_DEFINE_TYPE().
Delete the macros that reference the non-existing typedef.
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Tested-By: Roman Bolshakov <r.bolshakov@yadro.com>
Message-Id: <20200825192110.3528606-25-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include')
| -rw-r--r-- | include/hw/platform-bus.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/hw/platform-bus.h b/include/hw/platform-bus.h index 19e20c57ce..33745a418e 100644 --- a/include/hw/platform-bus.h +++ b/include/hw/platform-bus.h @@ -29,10 +29,6 @@ typedef struct PlatformBusDevice PlatformBusDevice; #define TYPE_PLATFORM_BUS_DEVICE "platform-bus-device" #define PLATFORM_BUS_DEVICE(obj) \ OBJECT_CHECK(PlatformBusDevice, (obj), TYPE_PLATFORM_BUS_DEVICE) -#define PLATFORM_BUS_DEVICE_CLASS(klass) \ - OBJECT_CLASS_CHECK(PlatformBusDeviceClass, (klass), TYPE_PLATFORM_BUS_DEVICE) -#define PLATFORM_BUS_DEVICE_GET_CLASS(obj) \ - OBJECT_GET_CLASS(PlatformBusDeviceClass, (obj), TYPE_PLATFORM_BUS_DEVICE) struct PlatformBusDevice { /*< private >*/ |
