aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAntonio Borneo <borneo.antonio@gmail.com>2021-04-25 20:07:35 +0200
committerAntonio Borneo <borneo.antonio@gmail.com>2021-05-01 13:37:06 +0100
commitf18a801e03e50274676544d10029c05e1f219246 (patch)
tree7e587afc8024720a20815032c344b546710d3caf /src
parent3c73cca1e09c92b13c77b903fb39ef9386e07fd9 (diff)
downloadriscv-openocd-f18a801e03e50274676544d10029c05e1f219246.zip
riscv-openocd-f18a801e03e50274676544d10029c05e1f219246.tar.gz
riscv-openocd-f18a801e03e50274676544d10029c05e1f219246.tar.bz2
helper/jim-nvp: remove unused function Jim_nvpInit()
The files jim-nvp.[ch] were originally inside jimtcl, then in 2011 they were dropped by jimtcl and integrated in OpenOCD. The initial purpose was to make them as an independent library, thus the presence of an 'init' function. Being now part of OpenOCD do not require the 'init' function anymore, that is still empty and unused, plus its name is in violation of the coding style. Drop the function Jim_nvpInit(). Change-Id: I429e10444c86a26dbdc22aa071315324dc5edc3e Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: http://openocd.zylin.com/6187 Tested-by: jenkins Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src')
-rw-r--r--src/helper/jim-nvp.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/helper/jim-nvp.c b/src/helper/jim-nvp.c
index d13bdfb..2caf18b 100644
--- a/src/helper/jim-nvp.c
+++ b/src/helper/jim-nvp.c
@@ -333,9 +333,3 @@ const char *Jim_Debug_ArgvString(Jim_Interp *interp, int argc, Jim_Obj *const *a
return Jim_String(debug_string_obj);
}
-
-int Jim_nvpInit(Jim_Interp *interp)
-{
- /* This is really a helper library, not an extension, but this is the easy way */
- return JIM_OK;
-}