public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition
@ 2009-07-31  3:09 Fernando Luis Vázquez Cao
  2009-08-03  6:56 ` Rusty Russell
  0 siblings, 1 reply; 2+ messages in thread
From: Fernando Luis Vázquez Cao @ 2009-07-31  3:09 UTC (permalink / raw)
  To: rusty, ericvh, v9fs-developer, Linux Kernel Mailing List

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>
---

diff -urNp linux-2.6.31-rc4-orig/net/9p/trans_virtio.c linux-2.6.31-rc4/net/9p/trans_virtio.c
--- linux-2.6.31-rc4-orig/net/9p/trans_virtio.c	2009-07-29 17:17:58.573055979 +0900
+++ linux-2.6.31-rc4/net/9p/trans_virtio.c	2009-07-31 11:50:16.135410972 +0900
@@ -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] 2+ messages in thread

* Re: [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition
  2009-07-31  3:09 [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition Fernando Luis Vázquez Cao
@ 2009-08-03  6:56 ` Rusty Russell
  0 siblings, 0 replies; 2+ messages in thread
From: Rusty Russell @ 2009-08-03  6:56 UTC (permalink / raw)
  To: Fernando Luis Vázquez Cao
  Cc: ericvh, v9fs-developer, Linux Kernel Mailing List

On Fri, 31 Jul 2009 12:39:05 pm Fernando Luis Vázquez Cao wrote:
> 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>

Thanks, applied.

Rusty.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-08-03  6:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-31  3:09 [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition Fernando Luis Vázquez Cao
2009-08-03  6:56 ` Rusty Russell

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox