mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 13:45:50 +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
|
||||
alloc_pending_endp(PUHCI_PENDING_ENDP_POOL pool, LONG count)
|
||||
{
|
||||
PUHCI_PENDING_ENDP new;
|
||||
PUHCI_PENDING_ENDP new_endp;
|
||||
if (pool == NULL || count != 1)
|
||||
return NULL;
|
||||
|
||||
if (pool->free_count <= 0)
|
||||
return NULL;
|
||||
|
||||
new = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
|
||||
new_endp = (PUHCI_PENDING_ENDP) RemoveHeadList(&pool->free_que);
|
||||
pool->free_count--;
|
||||
return new;
|
||||
return new_endp;
|
||||
}
|
||||
|
||||
BOOLEAN
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue