virtio: drop virtio_device_is_legacy_only
virtio_device_is_legacy_only is now unused, drop it from core. Signed-off-by: Michael S. Tsirkin <mst@redhat.com> Reviewed-by: Cornelia Huck <cornelia.huck@de.ibm.com> Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
parent
f71d8286c1
commit
9abbfb486f
|
@ -278,12 +278,6 @@ static struct bus_type virtio_bus = {
|
|||
.remove = virtio_dev_remove,
|
||||
};
|
||||
|
||||
bool virtio_device_is_legacy_only(struct virtio_device_id id)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only);
|
||||
|
||||
int register_virtio_driver(struct virtio_driver *driver)
|
||||
{
|
||||
/* Catch this early. */
|
||||
|
|
|
@ -108,8 +108,6 @@ struct virtio_device {
|
|||
void *priv;
|
||||
};
|
||||
|
||||
bool virtio_device_is_legacy_only(struct virtio_device_id id);
|
||||
|
||||
static inline struct virtio_device *dev_to_virtio(struct device *_dev)
|
||||
{
|
||||
return container_of(_dev, struct virtio_device, dev);
|
||||
|
|
Loading…
Reference in New Issue