In process_runnable_task(), after the task's process() function returns,
we used to check if the return is not NULL and is not a tasklet, to update
profiling measurements. This is useless since only tasks can return non-null
here. Let's remove this useless test.
* immediately, else we defer it into wait queue
*/
if (t != NULL) {
- if (unlikely(!TASK_IS_TASKLET(t) && t->call_date)) {
+ if (unlikely(t->call_date)) {
t->cpu_time += now_mono_time() - t->call_date;
t->call_date = 0;
}