mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
- Rename a variable so it doesn't conflict with a reserved keyword.
svn path=/trunk/; revision=39771
This commit is contained in:
parent
22fa5a4f23
commit
493259d7d4
1 changed files with 3 additions and 3 deletions
|
@ -189,16 +189,16 @@ free_pending_endp(PUHCI_PENDING_ENDP_POOL pool, PUHCI_PENDING_ENDP pending_endp)
|
||||||
PUHCI_PENDING_ENDP
|
PUHCI_PENDING_ENDP
|
||||||
alloc_pending_endp(PUHCI_PENDING_ENDP_POOL pool, LONG count)
|
alloc_pending_endp(PUHCI_PENDING_ENDP_POOL pool, LONG count)
|
||||||
{
|
{
|
||||||
PUHCI_PENDING_ENDP new;
|
PUHCI_PENDING_ENDP new_endp;
|
||||||
if (pool == NULL || count != 1)
|
if (pool == NULL || count != 1)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
if (pool->free_count <= 0)
|
if (pool->free_count <= 0)
|
||||||
return NULL;
|
return NULL;
|
||||||
|
|
||||||
new = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
|
new_endp = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
|
||||||
pool->free_count--;
|
pool->free_count--;
|
||||||
return new;
|
return new_endp;
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue