From: Zachary T Welch Date: Sun, 22 Nov 2009 12:13:56 +0000 (-0800) Subject: ecos: use register_commands() X-Git-Tag: v0.4.0-rc1~378 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1765b103044179baa2d5036bb61710369ae59e70;p=openocd ecos: use register_commands() --- diff --git a/src/flash/ecos.c b/src/flash/ecos.c index 381f858c..f6f3307b 100644 --- a/src/flash/ecos.c +++ b/src/flash/ecos.c @@ -338,8 +338,6 @@ static int ecosflash_probe(struct flash_bank *bank) static int ecosflash_register_commands(struct command_context *cmd_ctx) { - COMMAND_REGISTER(cmd_ctx, NULL, "ecosflash", NULL, COMMAND_ANY, NULL); - return ERROR_OK; }