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)
commit237c0ee4742b6462cb41cdb3fda1ca55011e4aaf
tree29c0f2c50de226e3a14bd51d04ec6b1c3ed32c9e
parent21f356f990262329bc387910355833378524fe9f
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: ff689fd21cb1 ("riscv: add RISC-V Svpbmt extension support")
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/kernel/cpufeature.c