From: Michal Simek Date: Tue, 1 Dec 2020 12:58:28 +0000 (+0100) Subject: cmd: load: Fix code indentation X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=e7fcfef431af04f38819555ae407d540f5ba1c93;p=u-boot.git cmd: load: Fix code indentation Reported by smatch like: cmd/load.c:228 read_record() warn: inconsistent indenting Signed-off-by: Michal Simek Reviewed-by: Simon Glass --- diff --git a/cmd/load.c b/cmd/load.c index 9a3a16979c..c6a7cc4651 100644 --- a/cmd/load.c +++ b/cmd/load.c @@ -228,12 +228,11 @@ static int read_record(char *buf, ulong len) *p = c; } - /* Check for the console hangup (if any different from serial) */ - if (gd->jt->getc != getchar) { - if (ctrlc()) { - return (-1); + /* Check for the console hangup (if any different from serial) */ + if (gd->jt->getc != getchar) { + if (ctrlc()) + return (-1); } - } } /* line too long - truncate */