jtag: remove unused function adapter_driver_modules_load() 01/5601/2
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 */

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)