From: Philippe Mathieu-Daudé Date: Wed, 8 Oct 2025 07:06:05 +0000 (+0200) Subject: target/openrisc: Remove unused cpu_openrisc_map_address_*() handlers X-Git-Tag: v10.2.0-rc1~61^2~48 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1843e89bec5f8551a9a554aca9f51d76e6ae9493;p=thirdparty%2Fqemu.git target/openrisc: Remove unused cpu_openrisc_map_address_*() handlers Commit 23d45ebdb19 ("target/openrisc: Remove indirect function calls for mmu") removed the last uses of both cpu_openrisc_map_address_code() and cpu_openrisc_map_address_data() helpers. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Anton Johansson Reviewed-by: Richard Henderson Message-Id: <20251010070702.51484-4-philmd@linaro.org> --- diff --git a/target/openrisc/cpu.h b/target/openrisc/cpu.h index f4bcf00b07..87201365a9 100644 --- a/target/openrisc/cpu.h +++ b/target/openrisc/cpu.h @@ -220,15 +220,6 @@ typedef struct OpenRISCTLBEntry { typedef struct CPUOpenRISCTLBContext { OpenRISCTLBEntry itlb[TLB_SIZE]; OpenRISCTLBEntry dtlb[TLB_SIZE]; - - int (*cpu_openrisc_map_address_code)(OpenRISCCPU *cpu, - hwaddr *physical, - int *prot, - target_ulong address, int rw); - int (*cpu_openrisc_map_address_data)(OpenRISCCPU *cpu, - hwaddr *physical, - int *prot, - target_ulong address, int rw); } CPUOpenRISCTLBContext; #endif