diff mbox

[3/6] pcie/slot: clean up of hotplug_event_notify().

Message ID af05edc52f480fcb6a5fbbc55438d8157e7eb6ed.1288174753.git.yamahata@valinux.co.jp
State New
Headers show

Commit Message

Isaku Yamahata Oct. 27, 2010, 10:21 a.m. UTC
remove redundant return and blank line from hotplug_event_notify().

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
---
 hw/pcie.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/hw/pcie.c b/hw/pcie.c
index 3c52849..37d7457 100644
--- a/hw/pcie.c
+++ b/hw/pcie.c
@@ -164,9 +164,7 @@  static void hotplug_event_notify(PCIDevice *dev)
         qemu_set_irq(dev->irq[dev->exp.hpev_intx], dev->exp.hpev_notified);
     } else if (dev->exp.hpev_notified) {
         pci_msi_notify(dev, pcie_cap_flags_get_vector(dev));
-        return;
     }
-
 }
 
 /*