summaryrefslogtreecommitdiff
path: root/tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
diff options
context:
space:
mode:
authorQiang Ma <maqianga@uniontech.com>2025-12-29 15:25:30 +0800
committerAnup Patel <anup@brainfault.org>2026-02-06 19:04:05 +0530
commit1c0180cd42839fe7a60a61412b7c28cd43553c6b (patch)
tree603bbd233ff63f9b67841695ab36df5d31045855 /tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git
parent63804fed149a6750ffd28610c5c1c98cce6bd377 (diff)
RISC-V: KVM: Remove unnecessary 'ret' assignment
If execution reaches "ret = 0" assignment in kvm_riscv_vcpu_pmu_event_info() then it means kvm_vcpu_write_guest() returned 0 hence ret is already zero and does not need to be assigned 0. Fixes: e309fd113b9f ("RISC-V: KVM: Implement get event info function") Signed-off-by: Qiang Ma <maqianga@uniontech.com> Reviewed-by: Anup Patel <anup@brainfault.org> Link: https://lore.kernel.org/r/20251229072530.3075496-1-maqianga@uniontech.com Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/lib/Documentation/tutorial/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions