summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorAhmad Fatoum <ahmad@a3f.at>2021-02-28 20:08:29 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2021-03-01 17:29:10 +0100
commitfceb9a280d74dae2d5f989fe240aaa20d3f29a80 (patch)
tree5fe3d325bccbfed8386c2f19380d36f5b1ed5319 /include
parent88a5687d94d8a8c265bd1e4a7184fc60ef50900f (diff)
downloadbarebox-fceb9a280d74dae2d5f989fe240aaa20d3f29a80.tar.gz
barebox-fceb9a280d74dae2d5f989fe240aaa20d3f29a80.tar.xz
virtio: remove unused, left-over, virtio_config_ops::set_features
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@a3f.at> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include')
-rw-r--r--include/linux/virtio_config.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/linux/virtio_config.h b/include/linux/virtio_config.h
index 3ed7001f48..e6fc31f627 100644
--- a/include/linux/virtio_config.h
+++ b/include/linux/virtio_config.h
@@ -83,13 +83,6 @@ struct virtio_config_ops {
*/
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
*
* @vdev: the real virtio device