]> git.sur5r.net Git - openocd/commitdiff
ecos: use register_commands()
authorZachary T Welch <zw@superlucidity.net>
Sun, 22 Nov 2009 12:13:56 +0000 (04:13 -0800)
committerZachary T Welch <zw@superlucidity.net>
Wed, 25 Nov 2009 05:37:34 +0000 (21:37 -0800)
src/flash/ecos.c

index 381f858c7ea2b35cff0a4233ba7c4dadf0ad27e0..f6f3307b068ca7e7efe1c5483e2f3a868d816eb3 100644 (file)
@@ -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;
 }