This is an automated email from Gerrit.

Antonio Borneo ([email protected]) just uploaded a new patch set to 
Gerrit, which you can find at http://openocd.zylin.com/5601

-- gerrit

commit 66ee87ba1f7a3ae2812af0c3fe1ebfd4ff30c18b
Author: Antonio Borneo <[email protected]>
Date:   Wed Apr 22 22:39:07 2020 +0200

    jtag: remove unused function adapter_driver_modules_load()
    
    Commit c2cecc74b0ac ("Move JTAG interface list to new files.")
    merged in mid 2009 introduces an unused and empty function that
    the developer expects to use for loading adapter drivers from
    shared libraries. This have never happened and the function is
    still empty and unused.
    
    Remove it.
    
    Change-Id: I7c88dbf8a9747e96e5ca4e6e7038ac0f232604fd
    Signed-off-by: Antonio Borneo <[email protected]>

diff --git a/src/jtag/interfaces.c b/src/jtag/interfaces.c
index 25858ea..7d3f8a8 100644
--- a/src/jtag/interfaces.c
+++ b/src/jtag/interfaces.c
@@ -261,8 +261,3 @@ struct adapter_driver *adapter_drivers[] = {
 #endif /* standard drivers */
                NULL,
        };
-
-void adapter_driver_modules_load(const char *path)
-{
-       /* @todo: implement dynamic module loading for adapter drivers */
-}
diff --git a/src/jtag/interfaces.h b/src/jtag/interfaces.h
index f85865a..ddbd735 100644
--- a/src/jtag/interfaces.h
+++ b/src/jtag/interfaces.h
@@ -36,9 +36,6 @@
 
 #include <jtag/interface.h>
 
-/** Dynamically load all adapter driver modules from specified directory. */
-void adapter_driver_modules_load(const char *path);
-
 extern struct adapter_driver *adapter_drivers[];
 
 #endif /* OPENOCD_JTAG_INTERFACES_H */

-- 


_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to