All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 3/6] virtio: get rid of redundant VIRTIO_ID_9P definition
@ 2009-09-21  6:58 Rusty Russell
  0 siblings, 0 replies; only message in thread
From: Rusty Russell @ 2009-09-21  6:58 UTC (permalink / raw)
  To: virtualization; +Cc: Eric Van Hensbergen, Fernando Luis Vazquez Cao

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

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

Signed-off-by: Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
Cc: Eric Van Hensbergen <ericvh@gmail.com>
---
 net/9p/trans_virtio.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
--- a/net/9p/trans_virtio.c
+++ b/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 },

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-09-21  6:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-21  6:58 [PATCH 3/6] virtio: get rid of redundant VIRTIO_ID_9P definition Rusty Russell

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.