diff options
Diffstat (limited to 'hw/ide')
-rw-r--r-- | hw/ide/ich.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/hw/ide/ich.c b/hw/ide/ich.c index eb00f03b33..fd3537e281 100644 --- a/hw/ide/ich.c +++ b/hw/ide/ich.c @@ -110,10 +110,7 @@ static int pci_ich9_uninit(PCIDevice *dev) struct AHCIPCIState *d; d = DO_UPCAST(struct AHCIPCIState, card, dev); - if (msi_enabled(dev)) { - msi_uninit(dev); - } - + msi_uninit(dev); qemu_unregister_reset(ahci_reset, d); ahci_uninit(&d->ahci); |