aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/usb-ehci.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/hw/usb-ehci.c')
-rw-r--r--src/hw/usb-ehci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/hw/usb-ehci.c b/src/hw/usb-ehci.c
index a502d364..a519455b 100644
--- a/src/hw/usb-ehci.c
+++ b/src/hw/usb-ehci.c
@@ -295,7 +295,6 @@ fail:
static void
ehci_controller_setup(struct pci_device *pci)
{
- wait_preempt(); // Avoid pci_config_readl when preempting
u16 bdf = pci->bdf;
u32 baseaddr = pci_config_readl(bdf, PCI_BASE_ADDRESS_0);
struct ehci_caps *caps = (void*)(baseaddr & PCI_BASE_ADDRESS_MEM_MASK);