]> git.sur5r.net Git - freertos/blobdiff - FreeRTOS/Source/queue.c
Simplify and improve GIC-less Cortex-R4 port.
[freertos] / FreeRTOS / Source / queue.c
index 1a3d58ca10862c60a5155472fa89b4d4b7c099f7..cc15f528fde01c7485877a0bd6146414919605b1 100644 (file)
@@ -444,7 +444,6 @@ QueueHandle_t xReturn = NULL;
                        traceCREATE_MUTEX_FAILED();\r
                }\r
 \r
-               configASSERT( pxNewQueue );\r
                return pxNewQueue;\r
        }\r
 \r
@@ -1219,8 +1218,8 @@ Queue_t * const pxQueue = ( Queue_t * ) xQueue;
        if the item size is not 0. */\r
        configASSERT( pxQueue->uxItemSize == 0 );\r
 \r
-       /* Normally a mutex would not be given from an interrupt, especially if \r
-       there is a mutex holder, as priority inheritance makes no sense for an \r
+       /* Normally a mutex would not be given from an interrupt, especially if\r
+       there is a mutex holder, as priority inheritance makes no sense for an\r
        interrupts, only tasks. */\r
        configASSERT( !( ( pxQueue->uxQueueType == queueQUEUE_IS_MUTEX ) && ( pxQueue->pxMutexHolder != NULL ) ) );\r
 \r