Skip to content
Snippets Groups Projects
Commit ce2d4c95 authored by Jason Hobbs's avatar Jason Hobbs Committed by Wolfgang Denk
Browse files

cosmetic: remove unneeded curly braces


This prevents a checkpatch warning in the patch to use isblank

Signed-off-by: default avatarJason Hobbs <jason.hobbs@calxeda.com>
parent 93337abb
No related branches found
No related tags found
No related merge requests found
...@@ -1097,9 +1097,8 @@ int parse_line (char *line, char *argv[]) ...@@ -1097,9 +1097,8 @@ int parse_line (char *line, char *argv[])
while (nargs < CONFIG_SYS_MAXARGS) { while (nargs < CONFIG_SYS_MAXARGS) {
/* skip any white space */ /* skip any white space */
while ((*line == ' ') || (*line == '\t')) { while ((*line == ' ') || (*line == '\t'))
++line; ++line;
}
if (*line == '\0') { /* end of line, no more args */ if (*line == '\0') { /* end of line, no more args */
argv[nargs] = NULL; argv[nargs] = NULL;
...@@ -1112,9 +1111,8 @@ int parse_line (char *line, char *argv[]) ...@@ -1112,9 +1111,8 @@ int parse_line (char *line, char *argv[])
argv[nargs++] = line; /* begin of argument string */ argv[nargs++] = line; /* begin of argument string */
/* find end of string */ /* find end of string */
while (*line && (*line != ' ') && (*line != '\t')) { while (*line && (*line != ' ') && (*line != '\t'))
++line; ++line;
}
if (*line == '\0') { /* end of line, no more args */ if (*line == '\0') { /* end of line, no more args */
argv[nargs] = NULL; argv[nargs] = NULL;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment