diff options
| author | Marco Elver <[email protected]> | 2021-11-30 11:44:10 +0000 |
|---|---|---|
| committer | Paul E. McKenney <[email protected]> | 2021-12-10 00:42:26 +0000 |
| commit | 71f8de7092cb2cf95e3f7055df139118d1445597 (patch) | |
| tree | 1d846e8207bdb81f641df99644e456fdbd473e50 /init/init_task.c | |
| parent | kcsan: Refactor reading of instrumented memory (diff) | |
| download | kernel-71f8de7092cb2cf95e3f7055df139118d1445597.tar.gz kernel-71f8de7092cb2cf95e3f7055df139118d1445597.zip | |
kcsan: Remove redundant zero-initialization of globals
They are implicitly zero-initialized, remove explicit initialization.
It keeps the upcoming additions to kcsan_ctx consistent with the rest.
No functional change intended.
Signed-off-by: Marco Elver <[email protected]>
Acked-by: Mark Rutland <[email protected]>
Signed-off-by: Paul E. McKenney <[email protected]>
Diffstat (limited to 'init/init_task.c')
| -rw-r--r-- | init/init_task.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/init/init_task.c b/init/init_task.c index 2d024066e27b..73cc8f03511a 100644 --- a/init/init_task.c +++ b/init/init_task.c @@ -182,11 +182,6 @@ struct task_struct init_task #endif #ifdef CONFIG_KCSAN .kcsan_ctx = { - .disable_count = 0, - .atomic_next = 0, - .atomic_nest_count = 0, - .in_flat_atomic = false, - .access_mask = 0, .scoped_accesses = {LIST_POISON1, NULL}, }, #endif |
