docproc: reduce unnecessary indentation
Improves clarity. No functional changes. Signed-off-by: Jani Nikula <jani.nikula@intel.com> Signed-off-by: Jonathan Corbet <corbet@lwn.net>hifive-unleashed-5.1
parent
568fb2dec9
commit
868fb19212
|
@ -445,7 +445,11 @@ static void parse_file(FILE *infile)
|
|||
char line[MAXLINESZ];
|
||||
char * s;
|
||||
while (fgets(line, MAXLINESZ, infile)) {
|
||||
if (line[0] == '!') {
|
||||
if (line[0] != '!') {
|
||||
defaultline(line);
|
||||
continue;
|
||||
}
|
||||
|
||||
s = line + 2;
|
||||
switch (line[1]) {
|
||||
case 'E':
|
||||
|
@ -490,9 +494,6 @@ static void parse_file(FILE *infile)
|
|||
default:
|
||||
defaultline(line);
|
||||
}
|
||||
} else {
|
||||
defaultline(line);
|
||||
}
|
||||
}
|
||||
fflush(stdout);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue