]> git.ipfire.org Git - thirdparty/qemu.git/commit
hw/ide: Do ide_drive_get() within pci_ide_create_devs()
authorBALATON Zoltan <balaton@eik.bme.hu>
Tue, 17 Mar 2020 15:05:37 +0000 (16:05 +0100)
committerJohn Snow <jsnow@redhat.com>
Tue, 17 Mar 2020 16:22:36 +0000 (12:22 -0400)
commitbe1765f39884ec0de413f8619685b3481b1dfa5a
treecffee75cd0fc8d112eb89c934ca6cc1a7cdf6d5b
parent417adc2d50937b95e5e89d8939f13d7e85d5ad9d
hw/ide: Do ide_drive_get() within pci_ide_create_devs()

The pci_ide_create_devs() function takes a hd_table parameter but all
callers just pass what ide_drive_get() returns so we can do it locally
simplifying callers and removing hd_table parameter.

Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu>
Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: Markus Armbruster <armbru@redhat.com>
Message-id: e9713fdded4d212fa68ed03b844e531934226a6f.1584457537.git.balaton@eik.bme.hu
Signed-off-by: John Snow <jsnow@redhat.com>
hw/alpha/dp264.c
hw/i386/pc_piix.c
hw/ide/pci.c
hw/isa/piix4.c
hw/mips/mips_fulong2e.c
hw/mips/mips_malta.c
hw/sparc64/sun4u.c
include/hw/ide/pci.h
include/hw/southbridge/piix.h