summaryrefslogtreecommitdiff
path: root/src/target/arm720t.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/arm720t.c')
-rw-r--r--src/target/arm720t.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm720t.c b/src/target/arm720t.c
index e7672b45..d4502241 100644
--- a/src/target/arm720t.c
+++ b/src/target/arm720t.c
@@ -254,14 +254,14 @@ static int arm720_mmu(struct target *target, int *enabled)
static int arm720_virt2phys(struct target *target,
uint32_t virtual, uint32_t *physical)
{
- int type;
uint32_t cb;
int domain;
uint32_t ap;
struct arm720t_common *arm720t = target_to_arm720(target);
uint32_t ret;
- int retval = armv4_5_mmu_translate_va(target, &arm720t->armv4_5_mmu, virtual, &type, &cb, &domain, &ap, &ret);
+ int retval = armv4_5_mmu_translate_va(target,
+ &arm720t->armv4_5_mmu, virtual, &cb, &domain, &ap, &ret);
if (retval != ERROR_OK)
return retval;
*physical = ret;