From 4c1e2105c4e5ad3188dae6e62ce019df15c7e52a Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 May 2025 14:14:05 +0200 Subject: [PATCH] target: drop struct target_type::target_jim_commands() The API was introduced in 2008 by commit 8d73c2a9b0c0 ("duan ellis target tcl work in progress") and never used. Drop it! Change-Id: Icbc5789f59696bd28f9d1151bc3e29f4adb74670 Signed-off-by: Antonio Borneo Reviewed-on: https://review.openocd.org/c/openocd/+/8903 Tested-by: jenkins --- src/target/target_type.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/target/target_type.h b/src/target/target_type.h index eddedbf34..5b0dc5a6c 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -201,10 +201,6 @@ struct target_type { /* otherwise: JIM_OK, or JIM_ERR, */ int (*target_jim_configure)(struct target *target, struct jim_getopt_info *goi); - /* target commands specifically handled by the target */ - /* returns JIM_OK, or JIM_ERR, or JIM_CONTINUE - if option not understood */ - int (*target_jim_commands)(struct target *target, struct jim_getopt_info *goi); - /** * This method is used to perform target setup that requires * JTAG access.