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