[PATCH 0/2] kernel: remove redundant static variable initializations
From: Igor Putko
Date: Tue Jun 23 2026 - 08:01:21 EST
This series removes explicit initializations of static bool variables to
false within the kernel/ subsystem. In C, static variables without explicit
initialization are implicitly placed in the .bss section and initialized
to zero/false by default. Removing these explicit initializations follows
the Linux kernel coding style and avoids cluttering the data section.
Igor Putko (2):
kernel/workqueue: remove redundant initialization for static variables
kernel/stop_machine: remove redundant initialization for
stop_machine_initialized
kernel/stop_machine.c | 2 +-
kernel/workqueue.c | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
--
2.34.1