diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-01-22 16:08:22 +0100 |
---|---|---|
committer | Tomas Vanek <vanekt@fbl.cz> | 2019-02-07 19:32:14 +0000 |
commit | d869c5d3d706f2dfe6aa291cac52a32df8cba9ae (patch) | |
tree | 6308f7c8c4ad24611dd8cad9c5523346098a5369 | |
parent | 3117a318d42606cbcfd39559e144f6f6b0313fe9 (diff) | |
download | riscv-openocd-d869c5d3d706f2dfe6aa291cac52a32df8cba9ae.zip riscv-openocd-d869c5d3d706f2dfe6aa291cac52a32df8cba9ae.tar.gz riscv-openocd-d869c5d3d706f2dfe6aa291cac52a32df8cba9ae.tar.bz2 |
drivers/bitbang: remove unused extern declaration of jtag_interface
After commit a6c4eb03455f ("swd: Remove DAP from parameter list")
the global variable jtag_interface is not referenced in the driver.
Remove the extern declaration.
Change-Id: I72018a59c9cecaa52d9a49ec0d7816ac0e656314
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/4874
Tested-by: jenkins
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
-rw-r--r-- | src/jtag/drivers/bitbang.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/jtag/drivers/bitbang.c b/src/jtag/drivers/bitbang.c index 722a5f2..da4fb33 100644 --- a/src/jtag/drivers/bitbang.c +++ b/src/jtag/drivers/bitbang.c @@ -30,9 +30,6 @@ #include <jtag/interface.h> #include <jtag/commands.h> -/* YUK! - but this is currently a global.... */ -extern struct jtag_interface *jtag_interface; - /** * Function bitbang_stableclocks * issues a number of clock cycles while staying in a stable state. |