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/xscale.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/target/xscale.c') diff --git a/src/target/xscale.c b/src/target/xscale.c index d16f8ec1..e2b4b6df 100644 --- a/src/target/xscale.c +++ b/src/target/xscale.c @@ -3216,7 +3216,6 @@ static int xscale_virt2phys(struct target *target, uint32_t virtual, uint32_t *physical) { struct xscale_common *xscale = target_to_xscale(target); - int type; uint32_t cb; int domain; uint32_t ap; @@ -3227,7 +3226,8 @@ static int xscale_virt2phys(struct target *target, } uint32_t ret; - int retval = armv4_5_mmu_translate_va(target, &xscale->armv4_5_mmu, virtual, &type, &cb, &domain, &ap, &ret); + int retval = armv4_5_mmu_translate_va(target, &xscale->armv4_5_mmu, + virtual, &cb, &domain, &ap, &ret); if (retval != ERROR_OK) return retval; *physical = ret; -- cgit v1.2.3