Browse Source

jtag: remove unused function adapter_driver_modules_load()

Commit c2cecc74b0 ("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
jim
Antonio Borneo 4 years ago
parent
commit
8f2afaafe2
2 changed files with 0 additions and 8 deletions
  1. +0
    -5
      src/jtag/interfaces.c
  2. +0
    -3
      src/jtag/interfaces.h

+ 0
- 5
src/jtag/interfaces.c View 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 */
}

+ 0
- 3
src/jtag/interfaces.h View 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 */

Loading…
Cancel
Save