]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: drop cpufeature_apply_feature tracking variable
authorHeiko Stuebner <heiko@sntech.de>
Thu, 26 May 2022 20:56:42 +0000 (22:56 +0200)
committerPalmer Dabbelt <palmer@rivosinc.com>
Thu, 16 Jun 2022 22:47:31 +0000 (15:47 -0700)
commitd11fa7204ba43c3ae8085b0125a6678504aeb85d
tree29c0f2c50de226e3a14bd51d04ec6b1c3ed32c9e
parentf4837fe7ddb0f8367ddcc102da0615451725010e
riscv: drop cpufeature_apply_feature tracking variable

The variable was tracking which feature patches got applied
but that information was never actually used - and thus resulted
in a warning as well.

Drop the variable.

Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Reviewed-by: Guo Ren <guoren@kernel.org>
Link: https://lore.kernel.org/r/20220526205646.258337-2-heiko@sntech.de
Fixes: e717e14059fd ("riscv: add RISC-V Svpbmt extension support")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c