Skip to content

Commit 484b9fa

Browse files
committed
virtio: Revert "virtio: add helper virtio_find_vqs_ctx_size()"
This reverts commit fe3dc04: the API is now unused and in fact can't be implemented on top of a legacy device. Fixes: fe3dc04 ("virtio: add helper virtio_find_vqs_ctx_size()") Cc: "Xuan Zhuo" <[email protected]> Signed-off-by: Michael S. Tsirkin <[email protected]> Message-Id: <[email protected]>
1 parent 2e9ca76 commit 484b9fa

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

include/linux/virtio_config.h

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -241,18 +241,6 @@ int virtio_find_vqs_ctx(struct virtio_device *vdev, unsigned nvqs,
241241
ctx, desc);
242242
}
243243

244-
static inline
245-
int virtio_find_vqs_ctx_size(struct virtio_device *vdev, u32 nvqs,
246-
struct virtqueue *vqs[],
247-
vq_callback_t *callbacks[],
248-
const char * const names[],
249-
u32 sizes[],
250-
const bool *ctx, struct irq_affinity *desc)
251-
{
252-
return vdev->config->find_vqs(vdev, nvqs, vqs, callbacks, names, sizes,
253-
ctx, desc);
254-
}
255-
256244
/**
257245
* virtio_synchronize_cbs - synchronize with virtqueue callbacks
258246
* @vdev: the device

0 commit comments

Comments
 (0)