Skip to contentSkip to conversation

memstick: jmb38x_ms: remove unneeded semicolon

PATCH In review [email protected] 2 participants 2 messages Oct 31, 2020 – Nov 5, 2020

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

PATCH 1/1 memstick: jmb38x_ms: remove unneeded semicolon

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

---
 drivers/memstick/host/jmb38x_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/memstick/host/jmb38x_ms.c +1 -1
index e83c3ada9389..f9a93b0565e1 100644
@@ -748,7 +748,7 @@ static int jmb38x_ms_set_param(struct memstick_host *msh,
 				      clock_delay);
 		host->ifmode = value;
 		break;
-	};
+	}
 	return 0;
 }
 
Signature · 1 line
2.18.1
#1 lore raw
Quoted 6 lines · On Sat, 31 Oct 2020 at 15:25, <[email protected]> wrote:

From: Tom Rix <[email protected]>

A semicolon is not needed after a switch statement.

Applied for next, thanks!

Kind regards
Uffe

Quoted 20 lines
---
 drivers/memstick/host/jmb38x_ms.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/memstick/host/jmb38x_ms.c +1 -2
index e83c3ada9389..f9a93b0565e1 100644
@@ -748,7 +748,7 @@ static int jmb38x_ms_set_param(struct memstick_host *msh,
                                      clock_delay);
                host->ifmode = value;
                break;
-       };
+       }
        return 0;
 }
 
--

2.18.1