diff options
Diffstat (limited to 'drivers/virtio/virtio.c')
-rw-r--r-- | drivers/virtio/virtio.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/virtio/virtio.c b/drivers/virtio/virtio.c index 5ce2aa48fc6e..b1877d73fa56 100644 --- a/drivers/virtio/virtio.c +++ b/drivers/virtio/virtio.c | |||
@@ -278,12 +278,6 @@ static struct bus_type virtio_bus = { | |||
278 | .remove = virtio_dev_remove, | 278 | .remove = virtio_dev_remove, |
279 | }; | 279 | }; |
280 | 280 | ||
281 | bool virtio_device_is_legacy_only(struct virtio_device_id id) | ||
282 | { | ||
283 | return id.device == VIRTIO_ID_BALLOON; | ||
284 | } | ||
285 | EXPORT_SYMBOL_GPL(virtio_device_is_legacy_only); | ||
286 | |||
287 | int register_virtio_driver(struct virtio_driver *driver) | 281 | int register_virtio_driver(struct virtio_driver *driver) |
288 | { | 282 | { |
289 | /* Catch this early. */ | 283 | /* Catch this early. */ |