Commit 3a20210d authored by Fernando Luis Vazquez Cao's avatar Fernando Luis Vazquez Cao Committed by Rusty Russell

virtio: get rid of redundant VIRTIO_ID_9P definition

VIRTIO_ID_9P is already defined in include/linux/virtio_9p.h
so use that definition instead.
Signed-off-by: default avatarFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: default avatarRusty Russell <rusty@rustcorp.com.au>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
parent 3c1b27d5
...@@ -334,8 +334,6 @@ static void p9_virtio_remove(struct virtio_device *vdev) ...@@ -334,8 +334,6 @@ static void p9_virtio_remove(struct virtio_device *vdev)
} }
} }
#define VIRTIO_ID_9P 9
static struct virtio_device_id id_table[] = { static struct virtio_device_id id_table[] = {
{ VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID }, { VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID },
{ 0 }, { 0 },
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment