mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-07-04 19:37:15 -04:00
Merge e4c4c3dd87
into 7225fbcbb9
This commit is contained in:
commit
8b2c5519f3
1
list.c
1
list.c
|
@ -216,6 +216,7 @@ void vListInsert( List_t * const pxList,
|
||||||
|
|
||||||
UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
UBaseType_t uxListRemove( ListItem_t * const pxItemToRemove )
|
||||||
{
|
{
|
||||||
|
configASSERT( pxItemToRemove->pxContainer != NULL );
|
||||||
/* The list item knows which list it is in. Obtain the list from the list
|
/* The list item knows which list it is in. Obtain the list from the list
|
||||||
* item. */
|
* item. */
|
||||||
List_t * const pxList = pxItemToRemove->pxContainer;
|
List_t * const pxList = pxItemToRemove->pxContainer;
|
||||||
|
|
Loading…
Reference in a new issue