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:
@@ -622,7 +622,7 @@ static void feroceon_common_setup(struct target *target)
|
||||
arm7_9->wp1_used_default = -1;
|
||||
}
|
||||
|
||||
static int feroceon_target_create(struct target *target, Jim_Interp *interp)
|
||||
static int feroceon_target_create(struct target *target)
|
||||
{
|
||||
struct arm926ejs_common *arm926ejs = calloc(1, sizeof(struct arm926ejs_common));
|
||||
|
||||
@@ -640,7 +640,7 @@ static int feroceon_target_create(struct target *target, Jim_Interp *interp)
|
||||
return ERROR_OK;
|
||||
}
|
||||
|
||||
static int dragonite_target_create(struct target *target, Jim_Interp *interp)
|
||||
static int dragonite_target_create(struct target *target)
|
||||
{
|
||||
struct arm966e_common *arm966e = calloc(1, sizeof(struct arm966e_common));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user