Skip to contentSkip to conversation

virtio: get rid of redundant VIRTIO_ID_9P definition

PATCH New Rusty Russell 1 participant 1 message Sep 21, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 3/6 virtio: get rid of redundant VIRTIO_ID_9P definition

From: =?UTF-8?B?RmVybmFuZG8gTHVpcyBWw6F6cXVleiBDYW8=?=

VIRTIO_ID_9P is already defined in include/linux/virtio_9p.h so use that definition instead.

---
 net/9p/trans_virtio.c |    2 --
 1 file changed, 2 deletions(-)
net/9p/trans_virtio.c +0 -2
@@ -337,8 +337,6 @@ static void p9_virtio_remove(struct virt
 	}
 }
 
-#define VIRTIO_ID_9P 9
-
 static struct virtio_device_id id_table[] = {
 	{ VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID },
 	{ 0 },