diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c
index 72d7028f779b55801795ef0fe49d9dda8cde7970..50754d2033100851b87f78d06401a3c5c137262d 100644
--- a/drivers/char/virtio_console.c
+++ b/drivers/char/virtio_console.c
@@ -355,7 +355,7 @@ static inline bool use_multiport(struct ports_device *portdev)
 	 * early_init
 	 */
 	if (!portdev->vdev)
-		return 0;
+		return false;
 	return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT);
 }