diff options
| author | Conor Dooley <[email protected]> | 2022-08-14 14:12:35 +0000 |
|---|---|---|
| committer | Anup Patel <[email protected]> | 2022-08-19 17:52:44 +0000 |
| commit | fd0cd59f322b1919bfc68cd245d51906f7f1ba2a (patch) | |
| tree | 0ef4378989da514de66793e69de3cd3fbe802163 /drivers/usb/cdns3/cdns3-ep0.c | |
| parent | Linux 6.0-rc1 (diff) | |
| download | kernel-fd0cd59f322b1919bfc68cd245d51906f7f1ba2a.tar.gz kernel-fd0cd59f322b1919bfc68cd245d51906f7f1ba2a.zip | |
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 <[email protected]>
Signed-off-by: Conor Dooley <[email protected]>
Signed-off-by: Anup Patel <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-ep0.c')
0 files changed, 0 insertions, 0 deletions
