diff mbox

[V9fs-developer] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition

Message ID 4A726051.8080705@oss.ntt.co.jp (mailing list archive)
State Accepted, archived
Headers show

Commit Message

Fernando Luis Vázquez Cao July 31, 2009, 3:09 a.m. UTC
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>
---


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july

Comments

Rusty Russell Aug. 3, 2009, 6:56 a.m. UTC | #1
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.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
diff mbox

Patch

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