diff options
author | Joe Perches <joe@perches.com> | 2015-03-30 16:46:10 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-04-03 16:15:30 +0200 |
commit | f580d730c90c11be0ef4fe88aff3de80845176cb (patch) | |
tree | d385b50d09c50e68181a1406233c71ce7cf1f6bd /drivers/char/virtio_console.c | |
parent | 0b509d8d336eef6d622d66b3ae2a1fc3a072bf92 (diff) | |
download | linux-stable-f580d730c90c11be0ef4fe88aff3de80845176cb.tar.gz linux-stable-f580d730c90c11be0ef4fe88aff3de80845176cb.tar.bz2 linux-stable-f580d730c90c11be0ef4fe88aff3de80845176cb.zip |
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>
Diffstat (limited to 'drivers/char/virtio_console.c')
-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) * early_init */ if (!portdev->vdev) - return 0; + return false; return __virtio_test_bit(portdev->vdev, VIRTIO_CONSOLE_F_MULTIPORT); } |