mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[USBPORT] Use min() macro.
This commit is contained in:
parent
9426d2986d
commit
18f4fc71c8
1 changed files with 1 additions and 4 deletions
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Reference in a new issue