From fceb9a280d74dae2d5f989fe240aaa20d3f29a80 Mon Sep 17 00:00:00 2001 From: Ahmad Fatoum Date: Sun, 28 Feb 2021 20:08:29 +0100 Subject: 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 Signed-off-by: Sascha Hauer --- include/linux/virtio_config.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'include') 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 @@ -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 * -- cgit v1.2.3