mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-19 03:15:00 +00:00
cmd: load: Fix code indentation
Reported by smatch like: cmd/load.c:228 read_record() warn: inconsistent indenting Signed-off-by: Michal Simek <michal.simek@xilinx.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
d42ab39f58
commit
e7fcfef431
1 changed files with 4 additions and 5 deletions
|
@ -230,11 +230,10 @@ static int read_record(char *buf, ulong len)
|
|||
|
||||
/* Check for the console hangup (if any different from serial) */
|
||||
if (gd->jt->getc != getchar) {
|
||||
if (ctrlc()) {
|
||||
if (ctrlc())
|
||||
return (-1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
/* line too long - truncate */
|
||||
*p = '\0';
|
||||
|
|
Loading…
Add table
Reference in a new issue