Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
}