summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>2009-07-31 05:09:05 +0200
committerRusty Russell <rusty@rustcorp.com.au>2009-09-23 14:56:32 +0200
commit3a20210dc26bbfff3bbb48bb22d2846240b71d8f (patch)
tree375afbd244e3fff2260154b5632adb8baee27490 /net
parentvirtio: make add_buf return capacity remaining (diff)
downloadlinux-3a20210dc26bbfff3bbb48bb22d2846240b71d8f.tar.xz
linux-3a20210dc26bbfff3bbb48bb22d2846240b71d8f.zip
virtio: 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. 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>
Diffstat (limited to 'net')
-rw-r--r--net/9p/trans_virtio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 53c139d31a21..ea1e3daabefe 100644
--- a/net/9p/trans_virtio.c
+++ b/net/9p/trans_virtio.c
@@ -334,8 +334,6 @@ static void p9_virtio_remove(struct virtio_device *vdev)
}
}
-#define VIRTIO_ID_9P 9
-
static struct virtio_device_id id_table[] = {
{ VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID },
{ 0 },