Message ID | 202212021031575255977@zte.com.cn (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | [linux-next,v2] mmc: sdhci: Remove unneeded semicolon | expand |
On 2/12/22 04:31, zhang.songyi@zte.com.cn wrote: > From: zhang songyi <zhang.songyi@zte.com.cn> > > The semicolon after the "}" is unneeded. > > Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn> Acked-by: Adrian Hunter <adrian.hunter@intel.com> > --- > 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; > } >
On Fri, 2 Dec 2022 at 03:32, <zhang.songyi@zte.com.cn> wrote: > > From: zhang songyi <zhang.songyi@zte.com.cn> > > The semicolon after the "}" is unneeded. > > Signed-off-by: zhang songyi <zhang.songyi@zte.com.cn> 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
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; }