diff mbox

mmc: block: fix semicolon.cocci warnings

Message ID 20170522211133.GA2631@lkp-wsx02 (mailing list archive)
State New, archived
Headers show

Commit Message

Fengguang Wu May 22, 2017, 9:11 p.m. UTC
drivers/mmc/core/block.c:1929:3-4: Unneeded semicolon


 Remove unneeded semicolon.

Generated by: scripts/coccinelle/misc/semicolon.cocci

CC: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 block.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Ulf Hansson May 23, 2017, 6:34 a.m. UTC | #1
On 22 May 2017 at 23:11, kbuild test robot <fengguang.wu@intel.com> wrote:
> drivers/mmc/core/block.c:1929:3-4: Unneeded semicolon
>
>
>  Remove unneeded semicolon.
>
> Generated by: scripts/coccinelle/misc/semicolon.cocci
>
> CC: Linus Walleij <linus.walleij@linaro.org>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>

Thanks, applied for next!

Kind regards
Uffe

> ---
>
>  block.c |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> --- a/drivers/mmc/core/block.c
> +++ b/drivers/mmc/core/block.c
> @@ -1926,7 +1926,7 @@ void mmc_blk_issue_rq(struct mmc_queue *
>                         mmc_blk_issue_rw_rq(mq, req);
>                         card->host->context_info.is_waiting_last_req = false;
>                         break;
> -               };
> +               }
>         } else {
>                 /* No request, flushing the pipeline with NULL */
>                 mmc_blk_issue_rw_rq(mq, NULL);
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

--- a/drivers/mmc/core/block.c
+++ b/drivers/mmc/core/block.c
@@ -1926,7 +1926,7 @@  void mmc_blk_issue_rq(struct mmc_queue *
 			mmc_blk_issue_rw_rq(mq, req);
 			card->host->context_info.is_waiting_last_req = false;
 			break;
-		};
+		}
 	} else {
 		/* No request, flushing the pipeline with NULL */
 		mmc_blk_issue_rw_rq(mq, NULL);