From: "Fernando Luis Vázquez Cao" <fernando@oss.ntt.co.jp>
To: rusty@rustcorp.com.au, ericvh@gmail.com,
v9fs-developer@lists.sourceforge.net,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition
Date: Fri, 31 Jul 2009 12:09:05 +0900 [thread overview]
Message-ID: <4A726051.8080705@oss.ntt.co.jp> (raw)
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 },
next reply other threads:[~2009-07-31 3:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-31 3:09 Fernando Luis Vázquez Cao [this message]
2009-08-03 6:56 ` [PATCH] Virtio 9p: get rid of redundant VIRTIO_ID_9P definition Rusty Russell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4A726051.8080705@oss.ntt.co.jp \
--to=fernando@oss.ntt.co.jp \
--cc=ericvh@gmail.com \
--cc=linux-kernel@vger.kernel.org \
--cc=rusty@rustcorp.com.au \
--cc=v9fs-developer@lists.sourceforge.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox