diff --git a/devicemodel/hw/pci/xhci.c b/devicemodel/hw/pci/xhci.c index 6b655a0e9..9edd7174a 100644 --- a/devicemodel/hw/pci/xhci.c +++ b/devicemodel/hw/pci/xhci.c @@ -1820,9 +1820,6 @@ pci_xhci_cmd_disable_slot(struct pci_xhci_vdev *xdev, uint32_t slot) break; if (i <= XHCI_MAX_DEVS && XHCI_PORTREG_PTR(xdev, i)) { - XHCI_PORTREG_PTR(xdev, i)->portsc &= ~(XHCI_PS_CSC | - XHCI_PS_CCS | XHCI_PS_PED | XHCI_PS_PP); - udev = dev->dev_instance; assert(udev);