diff mbox series

[-next] mmc: Remove unneeded semicolon

Message ID 20221123021221.9646-1-yang.lee@linux.alibaba.com
State New
Headers show
Series [-next] mmc: Remove unneeded semicolon | expand

Commit Message

Yang Li Nov. 23, 2022, 2:12 a.m. UTC
./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 <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/mmc/host/sunplus-mmc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Ulf Hansson Nov. 29, 2022, 12:54 p.m. UTC | #1
On Wed, 23 Nov 2022 at 03:12, Yang Li <yang.lee@linux.alibaba.com> 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 <abaci@linux.alibaba.com>
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

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
>
diff mbox series

Patch

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);
 }