This reverts commit fe3dc04e31aa51f91dc7f741a5f76cc4817eb5b4: the API is now unused and in fact can't be implemented on top of a legacy device.
Showing the changes to include/linux (1 of 1 file). Show all
Unified · Split
| @@ -241,18 +241,6 @@ int virtio_find_vqs_ctx(struct virtio_device *vdev, unsigned nvqs, · 240 unmodified lines | |||
| 241 | ctx, desc); | 241 | ctx, desc); |
| 242 | } | 242 | } |
| 243 | 243 | ||
| 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 | |||
| 256 | /** | 244 | /** |
| 257 | * virtio_synchronize_cbs - synchronize with virtqueue callbacks | 245 | * virtio_synchronize_cbs - synchronize with virtqueue callbacks |
| 258 | * @vdev: the device | 246 | * @vdev: the device |