mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-08 10:13:56 -06:00
hw/ide/piix: Remove redundant "piix3-ide-xen" device class
Commit 0f8445820f
'xen: piix reuse pci
generic class init function' already resolved redundant code which in
turn rendered piix3-ide-xen redundant.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Anthony PERARD <anthony.perard@citrix.com>
Message-Id: <20220513180957.90514-2-shentey@gmail.com>
Signed-off-by: Anthony PERARD <anthony.perard@citrix.com>
This commit is contained in:
parent
05911658cb
commit
7851b21a81
2 changed files with 1 additions and 9 deletions
|
@ -241,12 +241,6 @@ static const TypeInfo piix3_ide_info = {
|
|||
.class_init = piix3_ide_class_init,
|
||||
};
|
||||
|
||||
static const TypeInfo piix3_ide_xen_info = {
|
||||
.name = "piix3-ide-xen",
|
||||
.parent = TYPE_PCI_IDE,
|
||||
.class_init = piix3_ide_class_init,
|
||||
};
|
||||
|
||||
/* NOTE: for the PIIX4, the IRQs and IOports are hardcoded */
|
||||
static void piix4_ide_class_init(ObjectClass *klass, void *data)
|
||||
{
|
||||
|
@ -272,7 +266,6 @@ static const TypeInfo piix4_ide_info = {
|
|||
static void piix_ide_register_types(void)
|
||||
{
|
||||
type_register_static(&piix3_ide_info);
|
||||
type_register_static(&piix3_ide_xen_info);
|
||||
type_register_static(&piix4_ide_info);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue