aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorHuacai Chen <[email protected]>2023-10-10 16:54:34 +0800
committerThomas Bogendoerfer <[email protected]>2023-10-19 10:25:31 +0200
commit83767a67e7b6a0291cde5681ec7e3708f3f8f877 (patch)
tree2dced6fe0dbab08793bf477de393f507a559edf1 /tools/testing/selftests/bpf/progs/test_autoload.c
parent4d0f332a6fb65aac2fa98e61bbed4ac9dfcf0a01 (diff)
MIPS: KVM: Fix a build warning about variable set but not used
After commit 411740f5422a ("KVM: MIPS/MMU: Implement KVM_CAP_SYNC_MMU") old_pte is no longer used in kvm_mips_map_page(). So remove it to fix a build warning about variable set but not used: arch/mips/kvm/mmu.c: In function 'kvm_mips_map_page': >> arch/mips/kvm/mmu.c:701:29: warning: variable 'old_pte' set but not used [-Wunused-but-set-variable] 701 | pte_t *ptep, entry, old_pte; | ^~~~~~~ Cc: [email protected] Fixes: 411740f5422a960 ("KVM: MIPS/MMU: Implement KVM_CAP_SYNC_MMU") Reported-by: kernel test robot <[email protected]> Closes: https://lore.kernel.org/oe-kbuild-all/[email protected]/ Signed-off-by: Huacai Chen <[email protected]> Reviewed-by: Philippe Mathieu-Daudé <[email protected]> Signed-off-by: Thomas Bogendoerfer <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions