mirror of
https://github.com/reactos/reactos.git
synced 2026-06-03 17:59:48 +08:00
[USBPORT] Use min() macro.
This commit is contained in:
committed by
Amine Khaldi
parent
9426d2986d
commit
18f4fc71c8
@@ -107,10 +107,7 @@ USBPORT_AllocateBandwidth(IN PDEVICE_OBJECT FdoDevice,
|
||||
|
||||
for (ix = 1; *Bandwidth >= EndpointBandwidth; ix++)
|
||||
{
|
||||
if (MinBandwidth > *Bandwidth)
|
||||
{
|
||||
MinBandwidth = *Bandwidth;
|
||||
}
|
||||
MinBandwidth = min(MinBandwidth, *Bandwidth);
|
||||
|
||||
Bandwidth++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user