From b2468e3c4f09cd4e9f204aeb885dfdbbeb0a8dbb Mon Sep 17 00:00:00 2001 From: Antonio Borneo Date: Sat, 10 Apr 2010 17:23:06 +0800 Subject: [PATCH] HELLO: review unused symbols Remove unused functions: - hello_register_commands Signed-off-by: Antonio Borneo --- src/hello.c | 5 ----- src/hello.h | 4 ---- 2 files changed, 9 deletions(-) diff --git a/src/hello.c b/src/hello.c index 8cd5fabb..d3fce3dc 100644 --- a/src/hello.c +++ b/src/hello.c @@ -121,8 +121,3 @@ const struct command_registration hello_command_handlers[] = { }, COMMAND_REGISTRATION_DONE }; - -int hello_register_commands(struct command_context *cmd_ctx) -{ - return register_commands(cmd_ctx, NULL, hello_command_handlers); -} diff --git a/src/hello.h b/src/hello.h index fc674ad6..f41c67a3 100644 --- a/src/hello.h +++ b/src/hello.h @@ -20,12 +20,8 @@ #ifndef OPENOCD_HELLO_H #define OPENOCD_HELLO_H -struct command_context; struct command_registration; -/// Register the hello commands in the specified command_context -int hello_register_commands(struct command_context *cmd_ctx); - /** * Export the registration for the hello command group, so it can be * embedded in example drivers. -- 2.39.5