Remove redundant "task_struct_set()".

This is done by the "linux_kthread_fn()".

MFC after:	1 week
Sponsored by:	Mellanox Technologies
This commit is contained in:
hselasky 2016-05-12 09:11:18 +00:00
parent 010f9828c6
commit 8fc2673ccd

View File

@ -81,8 +81,7 @@ linux_kthread_create(int (*threadfn)(void *data), void *data)
0, 0, fmt, ## __VA_ARGS__)) { \
kfree(_task); \
_task = NULL; \
} else \
task_struct_set(_task->task_thread, _task); \
} \
_task; \
})