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:
@@ -427,7 +427,7 @@ static struct target_type *get_target_type(struct target *target)
|
||||
}
|
||||
}
|
||||
|
||||
static int riscv_create_target(struct target *target, Jim_Interp *interp)
|
||||
static int riscv_create_target(struct target *target)
|
||||
{
|
||||
LOG_DEBUG("riscv_create_target()");
|
||||
target->arch_info = calloc(1, sizeof(struct riscv_info));
|
||||
|
||||
Reference in New Issue
Block a user