Skip to contentSkip to conversation

mmc: sdhci: Remove unneeded semicolon

PATCH In review [email protected] 3 participants 3 messages Dec 2, 2022 – Dec 7, 2022

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 mmc: sdhci: Remove unneeded semicolon

From: zhang songyi <[email protected]>

The semicolon after the "}" is unneeded.

---
 drivers/mmc/host/sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci.c +1 -1
index 42aaeabcad22..8413180a1039 100644
@@ -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;
 }
 
Signature · 1 line
2.15.2
maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 5 lines · On 2/12/22 04:31, [email protected] wrote:

From: zhang songyi <[email protected]>

The semicolon after the "}" is unneeded.

Quoted 17 lines
---
 drivers/mmc/host/sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci.c +1 -1
index 42aaeabcad22..8413180a1039 100644
@@ -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 lore raw
In reply to [email protected]
Quoted 6 lines · On Fri, 2 Dec 2022 at 03:32, <[email protected]> wrote:

From: zhang songyi <[email protected]>

The semicolon after the "}" is unneeded.

Applied for next, thanks!

Kind regards
Uffe

Quoted 19 lines
---
 drivers/mmc/host/sdhci.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/mmc/host/sdhci.c +1 -2
index 42aaeabcad22..8413180a1039 100644
@@ -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