[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 23/41] nubus: Delete unused NUBUS_BRIDGE macro
From: |
Eduardo Habkost |
Subject: |
[PATCH 23/41] nubus: Delete unused NUBUS_BRIDGE macro |
Date: |
Thu, 13 Aug 2020 18:26:07 -0400 |
The macro never worked because the NubusBridge typedef doesn't
exist. Delete it.
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
---
include/hw/nubus/nubus.h | 1 -
1 file changed, 1 deletion(-)
diff --git a/include/hw/nubus/nubus.h b/include/hw/nubus/nubus.h
index a8634e54c5..c350948262 100644
--- a/include/hw/nubus/nubus.h
+++ b/include/hw/nubus/nubus.h
@@ -29,7 +29,6 @@
#define NUBUS_BUS(obj) OBJECT_CHECK(NubusBus, (obj), TYPE_NUBUS_BUS)
#define TYPE_NUBUS_BRIDGE "nubus-bridge"
-#define NUBUS_BRIDGE(obj) OBJECT_CHECK(NubusBridge, (obj), TYPE_NUBUS_BRIDGE)
typedef struct NubusBus {
BusState qbus;
--
2.26.2
- Re: [PATCH 21/41] s390_flic: Move KVMS390FLICState typedef to header, (continued)
- [PATCH 22/41] can_emu: Delete macros for non-existing typedef, Eduardo Habkost, 2020/08/13
- [PATCH 24/41] platform-bus: Delete macros for non-existing typedef, Eduardo Habkost, 2020/08/13
- [PATCH 27/41] qom: Fix G_DEFINE_AUTOPTR_CLEANUP_FUNC, Eduardo Habkost, 2020/08/13
- [PATCH 20/41] mcf_fec: Move mcf_fec_state typedef to header, Eduardo Habkost, 2020/08/13
- [PATCH 23/41] nubus: Delete unused NUBUS_BRIDGE macro,
Eduardo Habkost <=
- [PATCH 25/41] qom: make object_ref/unref use a void * instead of Object *., Eduardo Habkost, 2020/08/13
- [PATCH 26/41] qom: provide convenient macros for declaring and defining types, Eduardo Habkost, 2020/08/13
- [PATCH 30/41] qom: Make type checker functions accept const pointers, Eduardo Habkost, 2020/08/13
- [PATCH 29/41] qom: DECLARE_*_CHECKERS macros, Eduardo Habkost, 2020/08/13