forked from auracaster/openocd
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>
This commit is contained in:
committed by
Øyvind Harboe
parent
ce58ab9a4e
commit
9e62f86f24
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user