mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
[USBPORT] Remove an unnecessary check in USB2_ConvertFrame. CID 1434244
This commit is contained in:
parent
d1e5699e60
commit
7ad4cf96f3
1 changed files with 1 additions and 2 deletions
|
@ -739,8 +739,7 @@ USB2_ConvertFrame(IN UCHAR Frame,
|
||||||
*HcMicroframe = 0;
|
*HcMicroframe = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Microframe >= 0 &&
|
if (Microframe <= (USB2_MICROFRAMES - 2))
|
||||||
Microframe <= (USB2_MICROFRAMES - 2))
|
|
||||||
{
|
{
|
||||||
*HcFrame = Frame;
|
*HcFrame = Frame;
|
||||||
*HcMicroframe = Microframe + 1;
|
*HcMicroframe = Microframe + 1;
|
||||||
|
|
Loading…
Reference in a new issue