]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
cmd_spi: remove superfluous semicolon
authorMarek Vasut <marex@denx.de>
Wed, 1 Aug 2012 13:12:15 +0000 (15:12 +0200)
committerMike Frysinger <vapier@gentoo.org>
Fri, 10 Aug 2012 00:41:32 +0000 (20:41 -0400)
Reported-by: James Miller <jamesmiller@chromium.org>
Signed-off-by: Marek Vasut <marex@denx.de>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_spi.c

index 8c623c9fcf5a72da3fa0c324dbaabdfeb49cebb1..eba5fb83da4f54d66c8f64f9de9df12d252c9222 100644 (file)
@@ -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)