virtio-vdpa: don't set callback if virtio doesn't need it
authorGautam Dawar <gautam.dawar@xilinx.com>
Wed, 30 Mar 2022 18:03:42 +0000 (23:33 +0530)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 31 May 2022 16:44:26 +0000 (12:44 -0400)
commitea239a67461a34839e2172ead3043295a9173389
tree51b2302916d023e4ac5358bf075d54ecbec5bf2b
parent175d493c3c3e09a3abaa843068fae0f0ad42c47e
virtio-vdpa: don't set callback if virtio doesn't need it

There's no need for setting callbacks for the driver that doesn't care
about that.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: Gautam Dawar <gdawar@xilinx.com>
Message-Id: <20220330180436.24644-3-gdawar@xilinx.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_vdpa.c