Code: Remove redundant check (#287)

pull/290/head
alfred gedeon 4 years ago committed by GitHub
parent 6b72419c78
commit 9cd19603e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -350,8 +350,6 @@
/* 0 is not a valid value for xTimerPeriodInTicks. */
configASSERT( ( xTimerPeriodInTicks > 0 ) );
if( pxNewTimer != NULL )
{
/* Ensure the infrastructure used by the timer service task has been
* created/initialised. */
prvCheckForValidListAndQueue();
@ -371,7 +369,6 @@
traceTIMER_CREATE( pxNewTimer );
}
}
/*-----------------------------------------------------------*/
BaseType_t xTimerGenericCommand( TimerHandle_t xTimer,

Loading…
Cancel
Save