diff options
author | Zachary T Welch <zw@superlucidity.net> | 2009-11-20 22:01:59 -0800 |
---|---|---|
committer | Zachary T Welch <zw@superlucidity.net> | 2009-11-24 21:37:33 -0800 |
commit | 8d46720cda288f498787a706bb2518e6f852b9f1 (patch) | |
tree | eab7c9b46857d882666e9e97127194a2c14fd6cc /src/jtag/dummy.c | |
parent | fc2d9f87615b7a5562cb9cd58fb95953e5d89818 (diff) |
remove register_callbacks from jtag interface
Changes the jtag_interface->register_callbacks field to a list of
commands to be registered. Changes callback to invocation of
register_commands() with that command registration list. Removes all
JTAG interface driver register_command callback functions, which the
previous commits had converted into identical calls.
Diffstat (limited to 'src/jtag/dummy.c')
-rw-r--r-- | src/jtag/dummy.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/jtag/dummy.c b/src/jtag/dummy.c index 05167900..11b6f71a 100644 --- a/src/jtag/dummy.c +++ b/src/jtag/dummy.c @@ -134,11 +134,6 @@ static int dummy_speed(int speed) return ERROR_OK; } -static int dummy_register_commands(struct command_context *cmd_ctx) -{ - return ERROR_OK; -} - static int dummy_init(void) { bitbang_interface = &dummy_bitbang; @@ -160,7 +155,6 @@ struct jtag_interface dummy_interface = { .execute_queue = &bitbang_execute_queue, .speed = &dummy_speed, - .register_commands = &dummy_register_commands, .khz = &dummy_khz, .speed_div = &dummy_speed_div, |