]> git.gag.com Git - fw/openocd/commitdiff
jtag: remove unused function adapter_driver_modules_load()
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 22 Apr 2020 20:39:07 +0000 (22:39 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sat, 2 May 2020 14:41:21 +0000 (15:41 +0100)
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 <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5601
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
src/jtag/interfaces.c
src/jtag/interfaces.h

index 25858ea733a0534383a0eb2b7af71c20334ea76c..7d3f8a8ca10dc7dafc0a954ef81f9beffe455c1d 100644 (file)
@@ -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 */
-}
index f85865a24daf619f02c1af10f9444b2666aa285d..ddbd7350606760c8366b6bd2e28c81d3568d110e 100644 (file)
@@ -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 */