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
010f9828c6
commit
8fc2673ccd
@ -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; \
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user