]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - hw/virtio/vhost-user-fs.c
Revert "virtio: introduce macro IRTIO_CONFIG_IRQ_IDX"
[thirdparty/qemu.git] / hw / virtio / vhost-user-fs.c
index 9b0349922e2e7238b336ef72c47e293491a5890c..c59595798397ee447e804b83044f4e93ceb9683c 100644 (file)
@@ -161,9 +161,6 @@ static void vuf_guest_notifier_mask(VirtIODevice *vdev, int idx,
 {
     VHostUserFS *fs = VHOST_USER_FS(vdev);
 
-    if (idx == VIRTIO_CONFIG_IRQ_IDX) {
-        return;
-    }
     vhost_virtqueue_mask(&fs->vhost_dev, vdev, idx, mask);
 }
 
@@ -171,9 +168,6 @@ static bool vuf_guest_notifier_pending(VirtIODevice *vdev, int idx)
 {
     VHostUserFS *fs = VHOST_USER_FS(vdev);
 
-    if (idx == VIRTIO_CONFIG_IRQ_IDX) {
-        return false;
-    }
     return vhost_virtqueue_pending(&fs->vhost_dev, idx);
 }