Commit f580d730 authored by Joe Perches's avatar Joe Perches Committed by Greg Kroah-Hartman

virtio_console: Use bool function return values of true/false not 1/0

Use the normal return values for bool functions
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Reviewed-by: default avatarAmit Shah <amit.shah@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 0b509d8d
...@@ -355,7 +355,7 @@ static inline bool use_multiport(struct ports_device *portdev) ...@@ -355,7 +355,7 @@ static inline bool use_multiport(struct ports_device *portdev)
* early_init * early_init
*/ */
if (!portdev->vdev) if (!portdev->vdev)
return 0; return false;
return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT); return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment