summaryrefslogtreecommitdiff
path: root/common/cmd_spi.c
diff options
context:
space:
mode:
authorMarek Vasut <marex@denx.de>2012-08-01 15:12:15 +0200
committerMike Frysinger <vapier@gentoo.org>2012-08-09 20:41:32 -0400
commit2d5e7c7a4c893a97678e69e54b3960573d3da50e (patch)
treefa8bd4988c26094fe153158fa873a1ac61843c9f /common/cmd_spi.c
parent4d3c95f5ea7c737a21cd6b9c59435ee693b3f127 (diff)
downloadu-boot-imx-2d5e7c7a4c893a97678e69e54b3960573d3da50e.zip
u-boot-imx-2d5e7c7a4c893a97678e69e54b3960573d3da50e.tar.gz
u-boot-imx-2d5e7c7a4c893a97678e69e54b3960573d3da50e.tar.bz2
cmd_spi: remove superfluous semicolon
Reported-by: James Miller <jamesmiller@chromium.org> Signed-off-by: Marek Vasut <marex@denx.de> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common/cmd_spi.c')
-rw-r--r--common/cmd_spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_spi.c b/common/cmd_spi.c
index 8c623c9..eba5fb8 100644
--- a/common/cmd_spi.c
+++ b/common/cmd_spi.c
@@ -89,7 +89,7 @@ int do_spi (cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
cs = bus;
bus = CONFIG_DEFAULT_SPI_BUS;
}
- if (*cp == '.');
+ if (*cp == '.')
mode = simple_strtoul(cp+1, NULL, 10);
}
if (argc >= 3)