]> www.infradead.org Git - nvme.git/commitdiff
mailbox: Remove unneeded semicolon
authorChen Ni <nichen@iscas.ac.cn>
Mon, 10 Mar 2025 08:26:28 +0000 (16:26 +0800)
committerJassi Brar <jassisinghbrar@gmail.com>
Thu, 27 Mar 2025 01:58:26 +0000 (20:58 -0500)
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
Signed-off-by: Jassi Brar <jassisinghbrar@gmail.com>
drivers/mailbox/exynos-mailbox.c

index 20049f0ec5ff118ba624337f9df5d0d090e5278e..2320649bf60c86980c0e8554f2d5fd32af218a6d 100644 (file)
@@ -57,7 +57,7 @@ static int exynos_mbox_send_data(struct mbox_chan *chan, void *data)
        if (msg->chan_type != EXYNOS_MBOX_CHAN_TYPE_DOORBELL) {
                dev_err(dev, "Unsupported channel type [%d]\n", msg->chan_type);
                return -EINVAL;
-       };
+       }
 
        writel(BIT(msg->chan_id), exynos_mbox->regs + EXYNOS_MBOX_INTGR1);