XHCI: remove a self-assignment

x = x is an unneeded operation, remove it.
The value is read and assigned above for real.

MFC after:	4 weeks
This commit is contained in:
Bjoern A. Zeeb 2022-08-07 22:46:55 +00:00
parent 7064c94a02
commit d3ef3c4cf8

View File

@ -581,7 +581,6 @@ xhci_init(struct xhci_softc *sc, device_t self, uint8_t dma32)
return (ENXIO);
}
sc->sc_noport = sc->sc_noport;
sc->sc_noslot = XHCI_HCS1_DEVSLOT_MAX(temp);
DPRINTF("Max slots: %u\n", sc->sc_noslot);