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:
@@ -187,8 +187,7 @@ static int adapter_init_target(struct command_context *cmd_ctx,
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int adapter_target_create(struct target *target,
|
||||
Jim_Interp *interp)
|
||||
static int adapter_target_create(struct target *target)
|
||||
{
|
||||
LOG_DEBUG("%s", __func__);
|
||||
struct adiv5_private_config *pc = target->private_config;
|
||||
|
||||
Reference in New Issue
Block a user