mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-07-22 02:17:36 -04:00
vhost_task_create: kill unnecessary .exit_signal initialization
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. Signed-off-by: Oleg Nesterov <oleg@redhat.com> Acked-by: Jason Wang <jasowang@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Message-ID: <acAIm732QPFZs15C@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
b20b0867f2
commit
476a847da3
@@ -123,7 +123,6 @@ struct vhost_task *vhost_task_create(bool (*fn)(void *),
|
||||
struct kernel_clone_args args = {
|
||||
.flags = CLONE_FS | CLONE_UNTRACED | CLONE_VM |
|
||||
CLONE_THREAD | CLONE_SIGHAND,
|
||||
.exit_signal = 0,
|
||||
.fn = vhost_task_fn,
|
||||
.name = name,
|
||||
.user_worker = 1,
|
||||
|
||||
Reference in New Issue
Block a user