History

virtio: Revert "virtio: add helper virtio_find_vqs_ctx_size()"

This reverts commit fe3dc04e31aa51f91dc7f741a5f76cc4817eb5b4: the API is now unused and in fact can't be implemented on top of a legacy device.

Michael S. Tsirkin committed 4 years ago

Commit 484b9fa1 parent 2e9ca761 file · +0 −12Browse files

Showing the changes to include/linux (1 of 1 file). Show all

Unified · Split

include/linux/virtio_config.h+0−12
@@ -241,18 +241,6 @@ int virtio_find_vqs_ctx(struct virtio_device *vdev, unsigned nvqs, · 240 unmodified lines
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