]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
lib/bug: remove unnecessary variable initializations
authorJosh Law <objecting@objecting.org>
Fri, 6 Mar 2026 16:24:18 +0000 (16:24 +0000)
committerAndrew Morton <akpm@linux-foundation.org>
Sat, 28 Mar 2026 04:19:42 +0000 (21:19 -0700)
commit228491c380cf0d569634587d4042f9a2ebb9f93e
tree81e9bbd0aae360d11139a01658ab4698ce2c978b
parent6a2804112d98d351df664d9209aa459a2e2fa0d0
lib/bug: remove unnecessary variable initializations

Remove the unnecessary initialization of 'rcu' to false in
report_bug_entry() and report_bug(), as it is assigned by warn_rcu_enter()
before its first use.

Link: https://lkml.kernel.org/r/20260306162418.2815979-1-objecting@objecting.org
Signed-off-by: Josh Law <objecting@objecting.org>
Reviewed-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
lib/bug.c