aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2020-08-25 15:20:19 -0400
committerEduardo Habkost <ehabkost@redhat.com>2020-08-27 14:04:54 -0400
commit6a567fbcf0b81b7e78bed9ef8397e4398c0cf059 (patch)
treecc485a4e051c5b1531bda5337e4cd4d237512a0d
parent5c8b0f2cc799e2431cedc60f8021b3cd78bd944a (diff)
downloadqemu-6a567fbcf0b81b7e78bed9ef8397e4398c0cf059.zip
qemu-6a567fbcf0b81b7e78bed9ef8397e4398c0cf059.tar.gz
qemu-6a567fbcf0b81b7e78bed9ef8397e4398c0cf059.tar.bz2
nubus: Delete unused NUBUS_BRIDGE macro
The macro never worked because the NubusBridge typedef doesn't exist. Delete it. Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com> Acked-by: Laurent Vivier <laurent@vivier.eu> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Tested-By: Roman Bolshakov <r.bolshakov@yadro.com> Message-Id: <20200825192110.3528606-24-ehabkost@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
-rw-r--r--include/hw/nubus/nubus.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/hw/nubus/nubus.h b/include/hw/nubus/nubus.h
index a8634e5..c350948 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;