[PATCH 2/9] virtio: remove unused, left-over, virtio_config_ops::set_features

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxx>
---
 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


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux