diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2010-06-12 11:58:50 +0800 |
---|---|---|
committer | Øyvind Harboe <oyvind.harboe@zylin.com> | 2010-06-12 12:08:12 +0200 |
commit | 9e62f86f24dbd1a3f8d1a84fbfd18dc15dc23002 (patch) | |
tree | 4b8c5e1e11ed3a5c43b099b4502be81f9831517b /src/target/cortex_a8.c | |
parent | ce58ab9a4ef7f014eac4d2e30d2b54b2c3e53895 (diff) |
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 <borneo.antonio@gmail.com>
Diffstat (limited to 'src/target/cortex_a8.c')
-rw-r--r-- | src/target/cortex_a8.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/cortex_a8.c b/src/target/cortex_a8.c index f1541792..e26bb3d1 100644 --- a/src/target/cortex_a8.c +++ b/src/target/cortex_a8.c @@ -1801,7 +1801,6 @@ static int cortex_a8_mmu(struct target *target, int *enabled) static int cortex_a8_virt2phys(struct target *target, uint32_t virt, uint32_t *phys) { - int type; uint32_t cb; int domain; uint32_t ap; @@ -1819,7 +1818,7 @@ static int cortex_a8_virt2phys(struct target *target, cortex_a8->current_address_mode = ARM_MODE_SVC; uint32_t ret; int retval = armv4_5_mmu_translate_va(target, - &armv7a->armv4_5_mmu, virt, &type, &cb, &domain, &ap, &ret); + &armv7a->armv4_5_mmu, virt, &cb, &domain, &ap, &ret); if (retval != ERROR_OK) return retval; /* Reset the flag. We don't want someone else to use it by error */ |