HELLO: review unused symbols
Remove unused functions: - hello_register_commands Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
This commit is contained in:
parent
4678108034
commit
b2468e3c4f
|
@ -121,8 +121,3 @@ const struct command_registration hello_command_handlers[] = {
|
||||||
},
|
},
|
||||||
COMMAND_REGISTRATION_DONE
|
COMMAND_REGISTRATION_DONE
|
||||||
};
|
};
|
||||||
|
|
||||||
int hello_register_commands(struct command_context *cmd_ctx)
|
|
||||||
{
|
|
||||||
return register_commands(cmd_ctx, NULL, hello_command_handlers);
|
|
||||||
}
|
|
||||||
|
|
|
@ -20,12 +20,8 @@
|
||||||
#ifndef OPENOCD_HELLO_H
|
#ifndef OPENOCD_HELLO_H
|
||||||
#define OPENOCD_HELLO_H
|
#define OPENOCD_HELLO_H
|
||||||
|
|
||||||
struct command_context;
|
|
||||||
struct command_registration;
|
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
|
* Export the registration for the hello command group, so it can be
|
||||||
* embedded in example drivers.
|
* embedded in example drivers.
|
||||||
|
|
Loading…
Reference in New Issue