Skip to contentSkip to conversation

Virtio 9p: get rid of redundant VIRTIO_ID_9P definition

PATCH Applied Fernando Luis Vázquez Cao 2 participants 2 messages Jul 31, 2009 – Aug 3, 2009 9P file system

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Virtio 9p: 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.

---

net/9p/trans_virtio.c +0 -2
diff -urNp linux-2.6.31-rc4-orig/net/9p/trans_virtio.c linux-2.6.31-rc4/net/9p/trans_virtio.c
@@ -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 },