2022-12-02 03:45:30

by zhang.songyi

[permalink] [raw]
Subject: [PATCH linux-next v2] mmc: sdhci: Remove unneeded semicolon

From: zhang songyi <[email protected]>

The semicolon after the "}" is unneeded.

Signed-off-by: zhang songyi <[email protected]>
---
drivers/mmc/host/sdhci.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
index 42aaeabcad22..8413180a1039 100644
--- a/drivers/mmc/host/sdhci.c
+++ b/drivers/mmc/host/sdhci.c
@@ -2289,7 +2289,7 @@ static bool sdhci_timing_has_preset(unsigned char timing)
case MMC_TIMING_UHS_DDR50:
case MMC_TIMING_MMC_DDR52:
return true;
- };
+ }
return false;
}

--
2.15.2


2022-12-02 06:18:42

by Adrian Hunter

[permalink] [raw]
Subject: Re: [PATCH linux-next v2] mmc: sdhci: Remove unneeded semicolon

On 2/12/22 04:31, [email protected] wrote:
> From: zhang songyi <[email protected]>
>
> The semicolon after the "}" is unneeded.
>
> Signed-off-by: zhang songyi <[email protected]>

Acked-by: Adrian Hunter <[email protected]>

> ---
> drivers/mmc/host/sdhci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
> index 42aaeabcad22..8413180a1039 100644
> --- a/drivers/mmc/host/sdhci.c
> +++ b/drivers/mmc/host/sdhci.c
> @@ -2289,7 +2289,7 @@ static bool sdhci_timing_has_preset(unsigned char timing)
> case MMC_TIMING_UHS_DDR50:
> case MMC_TIMING_MMC_DDR52:
> return true;
> - };
> + }
> return false;
> }
>

2022-12-07 12:42:25

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH linux-next v2] mmc: sdhci: Remove unneeded semicolon

On Fri, 2 Dec 2022 at 03:32, <[email protected]> wrote:
>
> From: zhang songyi <[email protected]>
>
> The semicolon after the "}" is unneeded.
>
> Signed-off-by: zhang songyi <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/mmc/host/sdhci.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/sdhci.c b/drivers/mmc/host/sdhci.c
> index 42aaeabcad22..8413180a1039 100644
> --- a/drivers/mmc/host/sdhci.c
> +++ b/drivers/mmc/host/sdhci.c
> @@ -2289,7 +2289,7 @@ static bool sdhci_timing_has_preset(unsigned char timing)
> case MMC_TIMING_UHS_DDR50:
> case MMC_TIMING_MMC_DDR52:
> return true;
> - };
> + }
> return false;
> }
>
> --
> 2.15.2