summaryrefslogtreecommitdiffstats
path: root/drivers/virtio
diff options
context:
space:
mode:
authorMichael S. Tsirkin <mst@redhat.com>2015-04-15 02:47:45 +0200
committerRusty Russell <rusty@rustcorp.com.au>2015-04-15 05:11:14 +0200
commit9abbfb486f5c254805bb6a3f263bc14d989eb90b (patch)
treedef37cd4dc4e072abaf4e2e588db7a5432929c1a /drivers/virtio
parentvirtio_pci: support non-legacy balloon devices (diff)
downloadlinux-9abbfb486f5c254805bb6a3f263bc14d989eb90b.tar.xz
linux-9abbfb486f5c254805bb6a3f263bc14d989eb90b.zip
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>
Diffstat (limited to 'drivers/virtio')
-rw-r--r--drivers/virtio/virtio.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c
index 5fa67b5282ad..b1877d73fa56 100644
--- a/drivers/virtio/virtio.c
+++ b/drivers/virtio/virtio.c
@@ -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. */