]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/display/vhost-user-gpu.c
Revert "virtio: introduce macro IRTIO_CONFIG_IRQ_IDX"
[thirdparty/qemu.git] / hw / display / vhost-user-gpu.c
index d4a440e815c8e70aca4cfe0e33acef8cbedd915a..09818231bd24a9f8acd7ee3c2e1517561e6c1bdf 100644 (file)
@@ -485,9 +485,6 @@ vhost_user_gpu_guest_notifier_pending(VirtIODevice *vdev, int idx)
 {
     VhostUserGPU *g = VHOST_USER_GPU(vdev);
 
-    if (idx == VIRTIO_CONFIG_IRQ_IDX) {
-        return false;
-    }
     return vhost_virtqueue_pending(&g->vhost->dev, idx);
 }
 
@@ -496,9 +493,6 @@ vhost_user_gpu_guest_notifier_mask(VirtIODevice *vdev, int idx, bool mask)
 {
     VhostUserGPU *g = VHOST_USER_GPU(vdev);
 
-    if (idx == VIRTIO_CONFIG_IRQ_IDX) {
-        return;
-    }
     vhost_virtqueue_mask(&g->vhost->dev, vdev, idx, mask);
 }