The only reason for this janitorial change is that this initialization adds unnecessary noise to "git grep exit_signal". args.exit_signal has no effect with CLONE_THREAD, not to mention it is zero-initialized by the compiler anyway.
Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -123,7 +123,6 @@ struct vhost_task *vhost_task_create(bool (*fn)(void *), · 122 unmodified lines | |||
| 123 | struct kernel_clone_args args = { | 123 | struct kernel_clone_args args = { |
| 124 | .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | | 124 | .flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM | |
| 125 | CLONE_THREAD | CLONE_SIGHAND, | 125 | CLONE_THREAD | CLONE_SIGHAND, |
| 126 | .exit_signal = 0, | ||
| 127 | .fn = vhost_task_fn, | 126 | .fn = vhost_task_fn, |
| 128 | .name = name, | 127 | .name = name, |
| 129 | .user_worker = 1, | 128 | .user_worker = 1, |