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:
parent
7064c94a02
commit
d3ef3c4cf8
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user