summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOleg Nesterov <oleg@redhat.com>2026-03-22 18:19:55 +0300
committerMichael S. Tsirkin <mst@redhat.com>2026-06-10 09:17:00 +0300
commit476a847da37ea090bb7e05c396ff54c116372c3e (patch)
treeb7fe940043cd14ab10780022f03b128a4c883488
parentb20b0867f2b36f382d6e77b8f2a489cc37a94366 (diff)
downloadlinux-476a847da37ea090bb7e05c396ff54c116372c3e.tar.xz
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>
-rw-r--r--kernel/vhost_task.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/vhost_task.c b/kernel/vhost_task.c
index 3f1ed7ef0582..3717885a5992 100644
--- a/kernel/vhost_task.c
+++ b/kernel/vhost_task.c
@@ -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,