target: drop unused parameter to target_create()
The parameter Jim_Interp to the target API target_create() is not used by any target. Drop it. Change-Id: I67c492078a6c808db974505f9e297c45165f64d0 Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8831 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
This commit is contained in:
@@ -3126,7 +3126,7 @@ static int cortex_a_init_arch_info(struct target *target,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int cortex_a_target_create(struct target *target, Jim_Interp *interp)
|
||||
static int cortex_a_target_create(struct target *target)
|
||||
{
|
||||
struct cortex_a_common *cortex_a;
|
||||
struct adiv5_private_config *pc;
|
||||
@@ -3148,7 +3148,7 @@ static int cortex_a_target_create(struct target *target, Jim_Interp *interp)
|
||||
return cortex_a_init_arch_info(target, cortex_a, pc->dap);
|
||||
}
|
||||
|
||||
static int cortex_r4_target_create(struct target *target, Jim_Interp *interp)
|
||||
static int cortex_r4_target_create(struct target *target)
|
||||
{
|
||||
struct cortex_a_common *cortex_a;
|
||||
struct adiv5_private_config *pc;
|
||||
|
||||
Reference in New Issue
Block a user