]> Gentwo Git Trees - linux/.git/commit
virtio-vdpa: Drop redundant conversion to bool
authorXichao Zhao <zhao.xichao@vivo.com>
Mon, 18 Aug 2025 10:28:48 +0000 (18:28 +0800)
committerMichael S. Tsirkin <mst@redhat.com>
Wed, 1 Oct 2025 11:24:55 +0000 (07:24 -0400)
commited9f3ab9f3d3655e7447239cac80e4e0388faea8
tree6159f6671d3d05e79137001b4754dfbf756aacfa
parent3fc3068e7247c94dec08e93fea422a1bb649bfe5
virtio-vdpa: Drop redundant conversion to bool

The result of integer comparison already evaluates to bool. No need for
explicit conversion.

Signed-off-by: Xichao Zhao <zhao.xichao@vivo.com>
Message-Id: <20250818102848.578875-1-zhao.xichao@vivo.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_vdpa.c