diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2021-11-09 00:04:52 +0100 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2021-11-23 11:03:38 +0000 |
commit | b5d1b719e5a4a248d99921ebfd1298dcb473d1c1 (patch) | |
tree | dcf1bf30ad089b4570601d06517c56c020882068 /src/jtag/aice/aice_transport.c | |
parent | 8d9379c9bab8defe1ddb875352b432567d94f65b (diff) | |
download | riscv-openocd-b5d1b719e5a4a248d99921ebfd1298dcb473d1c1.zip riscv-openocd-b5d1b719e5a4a248d99921ebfd1298dcb473d1c1.tar.gz riscv-openocd-b5d1b719e5a4a248d99921ebfd1298dcb473d1c1.tar.bz2 |
openocd: use single line for register_commands*()
Do not split in multiple lines the calls to register_commands*().
No change in code behaviour, just make it easy to grep in the code
and identify the commands that can be registered.
This would help detecting undocumented commands.
Change-Id: Id654e107cdabf7ee31fc3d227c1d2a59acc5669e
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: https://review.openocd.org/c/openocd/+/6716
Tested-by: jenkins
Reviewed-by: Tomas Vanek <vanekt@fbl.cz>
Diffstat (limited to 'src/jtag/aice/aice_transport.c')
-rw-r--r-- | src/jtag/aice/aice_transport.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/jtag/aice/aice_transport.c b/src/jtag/aice/aice_transport.c index 3e9d942..c0088f5 100644 --- a/src/jtag/aice/aice_transport.c +++ b/src/jtag/aice/aice_transport.c @@ -387,8 +387,7 @@ static const struct command_registration aice_transport_command_handlers[] = { /* */ static int aice_transport_register_commands(struct command_context *cmd_ctx) { - return register_commands(cmd_ctx, NULL, - aice_transport_command_handlers); + return register_commands(cmd_ctx, NULL, aice_transport_command_handlers); } /* */ |