Skip to contentSkip to conversation

mmc: Remove unneeded semicolon

PATCH In review Yang Li 2 participants 2 messages Nov 23, 2022 – Nov 29, 2022

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 mmc: Remove unneeded semicolon

./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon

---
 drivers/mmc/host/sunplus-mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sunplus-mmc.c +1 -1
index 5c36daf09bfb..db5e0dcdfa7f 100644
@@ -318,7 +318,7 @@ static void spmmc_set_bus_width(struct spmmc_host *host, int width)
 		value &= ~SPMMC_SD_DATA_WD;
 		value &= ~SPMMC_MMC8_EN;
 		break;
-	};
+	}
 	writel(value, host->base + SPMMC_SD_CONFIG0_REG);
 }
 
Signature · 1 line
2.20.1.7.g153144c
#1 lore raw
Quoted 6 lines · Yang Li

./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/mmc/host/sunplus-mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sunplus-mmc.c +1 -2
index 5c36daf09bfb..db5e0dcdfa7f 100644
@@ -318,7 +318,7 @@ static void spmmc_set_bus_width(struct spmmc_host *host, int width)
                value &= ~SPMMC_SD_DATA_WD;
                value &= ~SPMMC_MMC8_EN;
                break;
-       };
+       }
        writel(value, host->base + SPMMC_SD_CONFIG0_REG);
 }
 
--

2.20.1.7.g153144c