./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3238
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
---
drivers/mmc/host/sunplus-mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/sunplus-mmc.c b/drivers/mmc/host/sunplus-mmc.c
index 5c36daf09bfb..db5e0dcdfa7f 100644
--- a/drivers/mmc/host/sunplus-mmc.c
+++ b/drivers/mmc/host/sunplus-mmc.c
@@ -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
On Wed, 23 Nov 2022 at 03:12, Yang Li <[email protected]> wrote:
>
> ./drivers/mmc/host/sunplus-mmc.c:321:2-3: Unneeded semicolon
>
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3238
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Yang Li <[email protected]>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/sunplus-mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sunplus-mmc.c b/drivers/mmc/host/sunplus-mmc.c
> index 5c36daf09bfb..db5e0dcdfa7f 100644
> --- a/drivers/mmc/host/sunplus-mmc.c
> +++ b/drivers/mmc/host/sunplus-mmc.c
> @@ -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
>