Remove redundant configASSERT in timers.c

This commit is contained in:
kar-rahul-aws 2025-02-28 11:00:58 +05:30
parent f0f8e9e743
commit c361e68a6b

View file

@ -458,8 +458,6 @@
traceENTER_xTimerGenericCommandFromTask( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait ); traceENTER_xTimerGenericCommandFromTask( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait );
configASSERT( xTimer );
/* Send a message to the timer service task to perform a particular action /* Send a message to the timer service task to perform a particular action
* on a particular timer definition. */ * on a particular timer definition. */
if( ( xTimerQueue != NULL ) && ( xTimer != NULL ) ) if( ( xTimerQueue != NULL ) && ( xTimer != NULL ) )
@ -509,8 +507,6 @@
traceENTER_xTimerGenericCommandFromISR( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait ); traceENTER_xTimerGenericCommandFromISR( xTimer, xCommandID, xOptionalValue, pxHigherPriorityTaskWoken, xTicksToWait );
configASSERT( xTimer );
/* Send a message to the timer service task to perform a particular action /* Send a message to the timer service task to perform a particular action
* on a particular timer definition. */ * on a particular timer definition. */
if( ( xTimerQueue != NULL ) && ( xTimer != NULL ) ) if( ( xTimerQueue != NULL ) && ( xTimer != NULL ) )