This is an automated email from Gerrit.

"Antonio Borneo <borneo.anto...@gmail.com>" just uploaded a new patch set to 
Gerrit, which you can find at https://review.openocd.org/c/openocd/+/8903

-- gerrit

commit 3d0691bcb0e35402dc71aef5d3f387cfadf4695a
Author: Antonio Borneo <borneo.anto...@gmail.com>
Date:   Sat May 10 14:14:05 2025 +0200

    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 <borneo.anto...@gmail.com>

diff --git a/src/target/target_type.h b/src/target/target_type.h
index eddedbf34f..5b0dc5a6c0 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.

-- 

Reply via email to