[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-trivial] [PATCH for-2.12] hw/ide: Remove duplicated definitions fr
From: |
Thomas Huth |
Subject: |
[Qemu-trivial] [PATCH for-2.12] hw/ide: Remove duplicated definitions from ahci_internal.h |
Date: |
Thu, 30 Nov 2017 20:12:34 +0100 |
The same definitions can also be found in include/hw/ide/ahci.h
so let's remove these #defines from ahci_internal.h.
Signed-off-by: Thomas Huth <address@hidden>
---
hw/ide/ahci_internal.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/hw/ide/ahci_internal.h b/hw/ide/ahci_internal.h
index ce2e818..1080a34 100644
--- a/hw/ide/ahci_internal.h
+++ b/hw/ide/ahci_internal.h
@@ -375,11 +375,4 @@ void ahci_uninit(AHCIState *s);
void ahci_reset(AHCIState *s);
-#define TYPE_SYSBUS_AHCI "sysbus-ahci"
-#define SYSBUS_AHCI(obj) OBJECT_CHECK(SysbusAHCIState, (obj), TYPE_SYSBUS_AHCI)
-
-#define TYPE_ALLWINNER_AHCI "allwinner-ahci"
-#define ALLWINNER_AHCI(obj) OBJECT_CHECK(AllwinnerAHCIState, (obj), \
- TYPE_ALLWINNER_AHCI)
-
#endif /* HW_IDE_AHCI_H */
--
1.8.3.1
- [Qemu-trivial] [PATCH for-2.12] hw/ide: Remove duplicated definitions from ahci_internal.h,
Thomas Huth <=