All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] kernel: remove redundant static variable initializations
@ 2026-06-23 12:00 Igor Putko
  2026-06-23 12:01 ` [PATCH 1/2] kernel/workqueue: remove redundant initialization for static variables Igor Putko
  2026-06-23 12:01 ` [PATCH 2/2] kernel/stop_machine: remove redundant initialization for stop_machine_initialized Igor Putko
  0 siblings, 2 replies; 4+ messages in thread
From: Igor Putko @ 2026-06-23 12:00 UTC (permalink / raw)
  To: tj, jiangshanlai, peterz, sshegde, vschneid, pauld
  Cc: linux-kernel, Igor Putko

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-06-23 12:32 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-23 12:00 [PATCH 0/2] kernel: remove redundant static variable initializations Igor Putko
2026-06-23 12:01 ` [PATCH 1/2] kernel/workqueue: remove redundant initialization for static variables Igor Putko
2026-06-23 12:01 ` [PATCH 2/2] kernel/stop_machine: remove redundant initialization for stop_machine_initialized Igor Putko
2026-06-23 12:32   ` Peter Zijlstra

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.