]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
s390/zcore: Removed unused variables
authorHeiko Carstens <hca@linux.ibm.com>
Tue, 19 May 2026 06:20:42 +0000 (08:20 +0200)
committerAlexander Gordeev <agordeev@linux.ibm.com>
Tue, 26 May 2026 06:15:40 +0000 (08:15 +0200)
commit0a2aa995c0a1d363b5f0803862e84834e3876ae2
treee4a46f5a3b272379e02864a580a7a5083bb3eb0d
parenta3211cad5694ab7ec41f415c28a867f20084a876
s390/zcore: Removed unused variables

allmodconfig with clang W=1 points out unused global variables:

drivers/s390/char/zcore.c:49:23: error: variable
 'zcore_reipl_file' set but not used [-Werror,-Wunused-but-set-global]
drivers/s390/char/zcore.c:50:23: error: variable
 'zcore_hsa_file' set but not used [-Werror,-Wunused-but-set-global]

Remove both of them, since there is no point in keeping them.

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>
drivers/s390/char/zcore.c