mirror of
https://github.com/reactos/reactos.git
synced 2024-12-01 15:33:31 +08:00
[USBPORT] Remove an unnecessary check in USBPORT_AllocateBandwidthUSB2. CID 1434261
This commit is contained in:
parent
7ad4cf96f3
commit
db54e5eb1c
@ -1892,11 +1892,7 @@ USBPORT_AllocateBandwidthUSB2(IN PDEVICE_OBJECT FdoDevice,
|
||||
case UsbHighSpeed:
|
||||
{
|
||||
Tt = &FdoExtension->Usb2Extension->HcTt;
|
||||
|
||||
if (EndpointProperties->Period > USB2_MAX_MICROFRAMES)
|
||||
Period = USB2_MAX_MICROFRAMES;
|
||||
else
|
||||
Period = EndpointProperties->Period;
|
||||
Period = EndpointProperties->Period;
|
||||
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user