testbench: remove unneeded variable

Remove unneeded temporary local variable, its declaration and newlines.

Signed-off-by: Payal Kshirsagar <payalskshirsagar1234@gmail.com>
This commit is contained in:
Payal Kshirsagar 2020-03-24 16:09:38 +05:30 committed by Janusz Jankowski
parent 9e1affa19b
commit 7a646c9dbd
1 changed files with 2 additions and 6 deletions

View File

@ -12,10 +12,6 @@ int schedule_task_init_ll(struct task *task, uint32_t uid, uint16_t type,
enum task_state (*run)(void *data), void *data,
uint16_t core, uint32_t flags)
{
int ret;
ret = schedule_task_init(task, uid, type, priority, run, data, core,
return schedule_task_init(task, uid, type, priority, run, data, core,
flags);
return ret;
}