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:
Hans Petter Selasky 2016-05-12 09:11:18 +00:00
parent 464d20bcc8
commit 15c98ff2f1
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299527

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; \
})