Skip to contentSkip to conversation

um: remove unneeded semicolon

PATCH New Yang Li 1 participant 1 message Sep 21, 2022 User-mode Linux (UML)

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 um: remove unneeded semicolon

while(){}, semicolon do not need to be appended.

---
 arch/um/drivers/virtio_uml.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/um/drivers/virtio_uml.c +1 -1
index 588930a0ced1..198aaed81ce6 100644
@@ -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;
Signature · 1 line
2.20.1.7.g153144c