coding style: avoid unnecessary line continuations
Line continuation, adding a backslash as last char of the line, is
requested in multi-line macro definition, but is not necessary in
the rest of C code.
Remove it where present.
Identified by checkpatch script from Linux kernel v5.1 using the
command
find src/ -type f -exec ./tools/scripts/checkpatch.pl \
-q --types LINE_CONTINUATIONS -f {} \;
Change-Id: Id0c69e93456731717a7b290b16580e9f8ae741bc
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5619
Reviewed-by: Andreas Fritiofson <andreas.fritiofson@gmail.com>
Tested-by: jenkins
This commit is contained in:
@@ -1007,7 +1007,7 @@ static const struct command_registration nds32_exec_command_handlers[] = {
|
||||
.handler = handle_nds32_global_stop_command,
|
||||
.mode = COMMAND_ANY,
|
||||
.usage = "['on'|'off']",
|
||||
.help = "turn on/off global stop. After turning on, every load/store" \
|
||||
.help = "turn on/off global stop. After turning on, every load/store"
|
||||
"instructions will be stopped to check memory access.",
|
||||
},
|
||||
{
|
||||
@@ -1015,7 +1015,7 @@ static const struct command_registration nds32_exec_command_handlers[] = {
|
||||
.handler = handle_nds32_soft_reset_halt_command,
|
||||
.mode = COMMAND_ANY,
|
||||
.usage = "['on'|'off']",
|
||||
.help = "as issuing rest-halt, to use soft-reset-halt or not." \
|
||||
.help = "as issuing rest-halt, to use soft-reset-halt or not."
|
||||
"the feature is for backward-compatible.",
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user