diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 19:46:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 10:15:30 -0400 |
commit | f580d730c90c11be0ef4fe88aff3de80845176cb (patch) | |
tree | d385b50d09c50e68181a1406233c71ce7cf1f6bd | |
parent | 0b509d8d336eef6d622d66b3ae2a1fc3a072bf92 (diff) |
virtio_console: Use bool function return values of true/false not 1/0
Use the normal return values for bool functions
Signed-off-by: Joe Perches <joe@perches.com>
Reviewed-by: Amit Shah <amit.shah@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r-- | drivers/char/virtio_console.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index 72d7028f779b..50754d203310 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) | |||
355 | * early_init | 355 | * early_init |
356 | */ | 356 | */ |
357 | if (!portdev->vdev) | 357 | if (!portdev->vdev) |
358 | return 0; | 358 | return false; |
359 | return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT); | 359 | return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT); |
360 | } | 360 | } |
361 | 361 | ||