um: remove unneeded semicolon
authorYang Li <yang.lee@linux.alibaba.com>
Wed, 21 Sep 2022 01:06:09 +0000 (09:06 +0800)
committerRichard Weinberger <richard@nod.at>
Wed, 1 Feb 2023 21:11:25 +0000 (22:11 +0100)
while(){}, semicolon do not need to be appended.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2237
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
arch/um/drivers/virtio_uml.c

index 588930a0ced17d8ae1026e62474e15cc41b7f881..198aaed81ce60f1bf7d1b876edeed8a4a3847a56 100644 (file)
@@ -412,7 +412,7 @@ static irqreturn_t vu_req_read_message(struct virtio_uml_device *vu_dev,
                if (msg.msg.header.flags & VHOST_USER_FLAG_NEED_REPLY)
                        vhost_user_reply(vu_dev, &msg.msg, response);
                irq_rc = IRQ_HANDLED;
-       };
+       }
        /* mask EAGAIN as we try non-blocking read until socket is empty */
        vu_dev->recv_rc = (rc == -EAGAIN) ? 0 : rc;
        return irq_rc;