mirror of
https://github.com/OpenAMP/open-amp.git
synced 2025-12-10 07:51:06 +08:00
virtio: remove deprecated virtio_describe() function
The function is deprecated since more than 2 years, remove it. Signed-off-by: Arnaud Pouliquen <arnaud.pouliquen@foss.st.com>
This commit is contained in:
committed by
Arnaud Pouliquen
parent
d183f24ea0
commit
a399378a5d
@@ -221,19 +221,6 @@ struct virtio_device {
|
||||
* Helper functions.
|
||||
*/
|
||||
|
||||
/**
|
||||
* @brief Get the name of a virtio device.
|
||||
*
|
||||
* @param devid Id of the device.
|
||||
*
|
||||
* @return pointer to the device name string if found, otherwise null.
|
||||
*/
|
||||
const char *virtio_dev_name(uint16_t devid);
|
||||
|
||||
__deprecated void virtio_describe(struct virtio_device *dev, const char *msg,
|
||||
uint32_t features,
|
||||
struct virtio_feature_desc *feature_desc);
|
||||
|
||||
/**
|
||||
* @brief Virtio device dispatcher functions.
|
||||
*
|
||||
|
||||
@@ -50,15 +50,6 @@ const char *virtio_dev_name(unsigned short devid)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
__deprecated void virtio_describe(struct virtio_device *dev, const char *msg,
|
||||
uint32_t features, struct virtio_feature_desc *desc)
|
||||
{
|
||||
(void)dev;
|
||||
(void)msg;
|
||||
(void)features;
|
||||
(void)desc;
|
||||
}
|
||||
|
||||
int virtio_create_virtqueues(struct virtio_device *vdev, unsigned int flags,
|
||||
unsigned int nvqs, const char *names[],
|
||||
vq_callback callbacks[], void *callback_args[])
|
||||
|
||||
Reference in New Issue
Block a user