]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/debug: Remove s390dbf_sysctl_header variable
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 19 May 2026 06:20:40 +0000 (08:20 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 26 May 2026 06:15:39 +0000 (08:15 +0200)
commit3f90f58eb7979a3145a65071f597942e7cbc04e5
treeb42195356535a7bbc2e8e539c7ab5b4de685b839
parente648e004e401955a9546320fa9b845838be7b353
s390/debug: Remove s390dbf_sysctl_header variable

allmodconfig with clang W=1 points out an unused global variable:

arch/s390/kernel/debug.c:1237:33: error: variable
 's390dbf_sysctl_header' set but not used [-Werror,-Wunused-but-set-global]

Just remove the variable. There is no point in adding error handling for a
failing register_sysctl() call.

Reviewed-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Signed-off-by: Alexander Gordeev <agordeev@linux.ibm.com>
arch/s390/kernel/debug.c