diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2022-08-14 15:12:35 +0100 |
---|---|---|
committer | Anup Patel <anup@brainfault.org> | 2022-08-19 23:22:44 +0530 |
commit | fd0cd59f322b1919bfc68cd245d51906f7f1ba2a (patch) | |
tree | 0ef4378989da514de66793e69de3cd3fbe802163 /scripts/generate_rust_target.rs | |
parent | 568035b01cfb107af8d2e4bd2fb9aea22cf5b868 (diff) |
riscv: kvm: vcpu_timer: fix unused variable warnings
In two places, csr is set but never used:
arch/riscv/kvm/vcpu_timer.c:302:23: warning: variable 'csr' set but not used [-Wunused-but-set-variable]
struct kvm_vcpu_csr *csr;
^
arch/riscv/kvm/vcpu_timer.c:327:23: warning: variable 'csr' set but not used [-Wunused-but-set-variable]
struct kvm_vcpu_csr *csr;
^
Remove the variable.
Fixes: 8f5cb44b1bae ("RISC-V: KVM: Support sstc extension")
Reviewed-by: Palmer Dabbelt <palmer@rivosinc.com>
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'scripts/generate_rust_target.rs')
0 files changed, 0 insertions, 0 deletions