kernel: remove redundant static variable initializations
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | kernel/workqueue: remove redundant initialization for static variableskernel/ | +2 | 0 replies | |
| 2/2 | kernel/stop_machine: remove redundant initialization for stop_machine_initializedkernel/ | +1 | 1 reply |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] kernel: remove redundant static variable initializations
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(-)
Signature · 1 line
2.34.1