[PATCH 2/9] virtio: remove unused, left-over, virtio_config_ops::set_features
Ahmad Fatoum
ahmad at a3f.at
Sun Feb 28 14:08:29 EST 2021
Linux finalize_features was renamed to set_features in the U-Boot port.
We adhere to the Linux naming and set_features is unused anywhere.
Drop it.
Signed-off-by: Ahmad Fatoum <ahmad at a3f.at>
---
include/linux/virtio_config.h | 7 -------
1 file changed, 7 deletions(-)
diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h
index 3ed7001f4800..e6fc31f627fc 100644
--- a/include/linux/virtio_config.h
+++ b/include/linux/virtio_config.h
@@ -82,13 +82,6 @@ struct virtio_config_ops {
* @return features
*/
u64 (*get_features)(struct virtio_device *vdev);
- /**
- * set_features() - confirm what device features we'll be using
- *
- * @vdev: the real virtio device
- * @return 0 if OK, -ve on error
- */
- int (*set_features)(struct virtio_device *vdev);
/**
* find_vqs() - find virtqueues and instantiate them
*
--
2.30.0
More information about the barebox
mailing list