Skip to contentSkip to conversation

SPI: Remove superfluous semicolon

PATCH New Marek Vasut 3 participants 3 messages Aug 1, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SPI: Remove superfluous semicolon

This is from someone on IRC.

Cc Mike Frysinger <[email protected]>
Cc Wolfgang Denk <[email protected]>
---
 common/cmd_spi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
common/cmd_spi.c +1 -1
index 8c623c9..eba5fb8 100644
@@ -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)
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 1/1 SPI: Remove superfluous semicolon

Dear Mike Frysinger,

Quoted 2 lines · In message <[email protected]> you wrote:

i've added it to my branch, but if Wolfgang merges it directly, that's fine too

I'm happy if you take it. Thanks.

Best regards,

Wolfgang Denk

Signature · 6 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Chapter 1 -- The story so  far:
In the beginning the Universe was created. This has  made  a  lot  of
people very angry and been widely regarded as a bad move.