From 9e62f86f24dbd1a3f8d1a84fbfd18dc15dc23002 Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 12 Jun 2010 11:58:50 +0800 Subject: TARGET: removed unsed parameter Parameter "type" of function armv4_5_mmu_translate_va() is now not used. Remove the parameter and the "enum" listing its values. Signed-off-by: Antonio Borneo --- src/target/arm926ejs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/arm926ejs.c') diff --git a/src/target/arm926ejs.c b/src/target/arm926ejs.c index bfa2ab4a..dd1d3656 100644 --- a/src/target/arm926ejs.c +++ b/src/target/arm926ejs.c @@ -720,14 +720,14 @@ COMMAND_HANDLER(arm926ejs_handle_cache_info_command) static int arm926ejs_virt2phys(struct target *target, uint32_t virtual, uint32_t *physical) { - int type; uint32_t cb; int domain; uint32_t ap; struct arm926ejs_common *arm926ejs = target_to_arm926(target); uint32_t ret; - int retval = armv4_5_mmu_translate_va(target, &arm926ejs->armv4_5_mmu, virtual, &type, &cb, &domain, &ap, &ret); + int retval = armv4_5_mmu_translate_va(target, &arm926ejs->armv4_5_mmu, + virtual, &cb, &domain, &ap, &ret); if (retval != ERROR_OK) return retval; *physical = ret; -- cgit v1.2.3