summaryrefslogtreecommitdiff
path: root/scripts/stackusage
diff options
context:
space:
mode:
authorVenkat Rao Bagalkote <venkat88@linux.ibm.com>2026-04-28 09:15:40 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-05-23 14:47:34 +0300
commite8c715f3a7dae43fabae261493a26474fec11863 (patch)
treef14c701887bb733deada2ed1f76732882c57e4da /scripts/stackusage
parent950f35211b85db26fc1aae67bf1e14ccef393a0a (diff)
downloadlinux-e8c715f3a7dae43fabae261493a26474fec11863.tar.xz
char/nvram: Remove redundant nvram_mutex
The global nvram_mutex in drivers/char/nvram.c is redundant and unused, and this triggers compiler warnings on some configurations. All platform-specific nvram operations already provide their own internal synchronization, meaning the wrapper-level mutex does not provide any additional safety. Remove the nvram_mutex definition along with all remaining lock/unlock users across PPC32, x86, and m68k code paths, and rely entirely on the per-architecture nvram implementations for locking. Reviewed-by: Arnd Bergmann <arnd@arndb.de> Suggested-by: Arnd Bergmann <arnd@arndb.de> Tested-by: Tellakula Yeswanth Krishna <yeswanth@linux.ibm.com> Signed-off-by: Venkat Rao Bagalkote <venkat88@linux.ibm.com> Tested-by: yeswanth <yeswanth@linux.ibm.com> Reviewed-by: Ritesh Harjani (IBM) <ritesh.list@gmail.com> Link: https://patch.msgid.link/20260428061540.73668-1-venkat88@linux.ibm.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'scripts/stackusage')
0 files changed, 0 insertions, 0 deletions