diff options
| author | Yang Li <[email protected]> | 2022-09-21 01:06:09 +0000 |
|---|---|---|
| committer | Richard Weinberger <[email protected]> | 2023-02-01 21:11:25 +0000 |
| commit | 28b2bb06a381816c2c111afba4984f8ea2c17e0f (patch) | |
| tree | 05374d605c45161e94217f775768be0e6b28abe0 /arch/um/drivers/virtio_uml.c | |
| parent | um: Remove the unneeded result variable (diff) | |
| download | kernel-28b2bb06a381816c2c111afba4984f8ea2c17e0f.tar.gz kernel-28b2bb06a381816c2c111afba4984f8ea2c17e0f.zip | |
um: remove unneeded semicolon
while(){}, semicolon do not need to be appended.
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=2237
Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
Diffstat (limited to 'arch/um/drivers/virtio_uml.c')
| -rw-r--r-- | arch/um/drivers/virtio_uml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/um/drivers/virtio_uml.c b/arch/um/drivers/virtio_uml.c index 588930a0ced1..198aaed81ce6 100644 --- a/arch/um/drivers/virtio_uml.c +++ b/arch/um/drivers/virtio_uml.c @@ -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; |
