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:
parent
464d20bcc8
commit
15c98ff2f1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=299527
@ -81,8 +81,7 @@ linux_kthread_create(int (*threadfn)(void *data), void *data)
|
|||||||
0, 0, fmt, ## __VA_ARGS__)) { \
|
0, 0, fmt, ## __VA_ARGS__)) { \
|
||||||
kfree(_task); \
|
kfree(_task); \
|
||||||
_task = NULL; \
|
_task = NULL; \
|
||||||
} else \
|
} \
|
||||||
task_struct_set(_task->task_thread, _task); \
|
|
||||||
_task; \
|
_task; \
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user