* [PATCH] mmc: davinci: remove unneeded semicolon
@ 2020-10-31 15:27 trix
2020-11-05 12:59 ` Ulf Hansson
0 siblings, 1 reply; 2+ messages in thread
From: trix @ 2020-10-31 15:27 UTC (permalink / raw)
To: ulf.hansson, krzk, wsa+renesas, dianders, gustavoars, mirq-linux
Cc: linux-mmc, linux-kernel, Tom Rix
From: Tom Rix <trix@redhat.com>
A semicolon is not needed after a switch statement.
Signed-off-by: Tom Rix <trix@redhat.com>
---
drivers/mmc/host/davinci_mmc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
index 90cd179625fc..2a757c88f9d2 100644
--- a/drivers/mmc/host/davinci_mmc.c
+++ b/drivers/mmc/host/davinci_mmc.c
@@ -290,7 +290,7 @@ static void mmc_davinci_start_command(struct mmc_davinci_host *host,
default:
s = ", (R? response)";
break;
- }; s; }));
+ } s; }));
host->cmd = cmd;
switch (mmc_resp_type(cmd)) {
--
2.18.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] mmc: davinci: remove unneeded semicolon
2020-10-31 15:27 [PATCH] mmc: davinci: remove unneeded semicolon trix
@ 2020-11-05 12:59 ` Ulf Hansson
0 siblings, 0 replies; 2+ messages in thread
From: Ulf Hansson @ 2020-11-05 12:59 UTC (permalink / raw)
To: trix
Cc: Krzysztof Kozlowski, Wolfram Sang, Doug Anderson,
Gustavo A. R. Silva, Michał Mirosław, linux-mmc,
Linux Kernel Mailing List
On Sat, 31 Oct 2020 at 16:27, <trix@redhat.com> wrote:
>
> From: Tom Rix <trix@redhat.com>
>
> A semicolon is not needed after a switch statement.
>
> Signed-off-by: Tom Rix <trix@redhat.com>
Applied for next, thanks!
Kind regards
Uffe
> ---
> drivers/mmc/host/davinci_mmc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/mmc/host/davinci_mmc.c b/drivers/mmc/host/davinci_mmc.c
> index 90cd179625fc..2a757c88f9d2 100644
> --- a/drivers/mmc/host/davinci_mmc.c
> +++ b/drivers/mmc/host/davinci_mmc.c
> @@ -290,7 +290,7 @@ static void mmc_davinci_start_command(struct mmc_davinci_host *host,
> default:
> s = ", (R? response)";
> break;
> - }; s; }));
> + } s; }));
> host->cmd = cmd;
>
> switch (mmc_resp_type(cmd)) {
> --
> 2.18.1
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-11-05 12:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-10-31 15:27 [PATCH] mmc: davinci: remove unneeded semicolon trix
2020-11-05 12:59 ` Ulf Hansson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).