diff options
author | Eduardo Habkost | 2020-08-25 21:20:18 +0200 |
---|---|---|
committer | Eduardo Habkost | 2020-08-27 20:04:54 +0200 |
commit | 5c8b0f2cc799e2431cedc60f8021b3cd78bd944a (patch) | |
tree | b05edc876afabd3eb56c7805e819313cd93eb56e /include/net | |
parent | s390_flic: Move KVMS390FLICState typedef to header (diff) | |
download | qemu-5c8b0f2cc799e2431cedc60f8021b3cd78bd944a.tar.gz qemu-5c8b0f2cc799e2431cedc60f8021b3cd78bd944a.tar.xz qemu-5c8b0f2cc799e2431cedc60f8021b3cd78bd944a.zip |
can_emu: Delete macros for non-existing typedef
CanBusClass 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: Philippe Mathieu-Daudé <f4bug@amsat.org>
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-23-ehabkost@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/can_emu.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/include/net/can_emu.h b/include/net/can_emu.h index fce9770928..7e90fd8a45 100644 --- a/include/net/can_emu.h +++ b/include/net/can_emu.h @@ -100,10 +100,6 @@ struct CanBusClientState { }; #define TYPE_CAN_BUS "can-bus" -#define CAN_BUS_CLASS(klass) \ - OBJECT_CLASS_CHECK(CanBusClass, (klass), TYPE_CAN_BUS) -#define CAN_BUS_GET_CLASS(obj) \ - OBJECT_GET_CLASS(CanBusClass, (obj), TYPE_CAN_BUS) #define CAN_BUS(obj) \ OBJECT_CHECK(CanBusState, (obj), TYPE_CAN_BUS) |