Skip to contentSkip to conversation

mmc: davinci: remove unneeded semicolon

PATCH In review [email protected] 2 participants 2 messages Oct 31, 2020 – Nov 5, 2020 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 mmc: davinci: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/mmc/host/davinci_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/davinci_mmc.c +1 -1
index 90cd179625fc..2a757c88f9d2 100644
@@ -290,7 +290,7 @@ static void mmc_davinci_start_command(struct mmc_davinci_host *host,
 		default:
 			s = ", (R? response)";
 			break;
-		}; s; }));
+		} s; }));
 	host->cmd = cmd;
 
 	switch (mmc_resp_type(cmd)) {
Signature · 1 line
2.18.1
#1 lore raw
Quoted 6 lines · On Sat, 31 Oct 2020 at 16:27, <[email protected]> wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/davinci_mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/davinci_mmc.c +1 -2
index 90cd179625fc..2a757c88f9d2 100644
@@ -290,7 +290,7 @@ static void mmc_davinci_start_command(struct mmc_davinci_host *host,
                default:
                        s = ", (R? response)";
                        break;
-               }; s; }));
+               } s; }));
        host->cmd = cmd;
 
        switch (mmc_resp_type(cmd)) {
--

2.18.1