qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 3/6] pcie/slot: clean up of hotplug_event_notify().


From: Isaku Yamahata
Subject: [Qemu-devel] [PATCH 3/6] pcie/slot: clean up of hotplug_event_notify().
Date: Wed, 27 Oct 2010 19:21:18 +0900

remove redundant return and blank line from hotplug_event_notify().

Signed-off-by: Isaku Yamahata <address@hidden>
---
 hw/pcie.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

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;
     }
-
 }
 
 /*
-- 
1.7.1.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]