diff options
author | Fernando Luis Vazquez Cao <fernando@oss.ntt.co.jp> | 2009-07-30 23:09:05 -0400 |
---|---|---|
committer | Rusty Russell <rusty@rustcorp.com.au> | 2009-09-23 08:56:32 -0400 |
commit | 3a20210dc26bbfff3bbb48bb22d2846240b71d8f (patch) | |
tree | 375afbd244e3fff2260154b5632adb8baee27490 | |
parent | 3c1b27d5043086a485f8526353ae9fe37bfa1065 (diff) |
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>
-rw-r--r-- | net/9p/trans_virtio.c | 2 |
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) | |||
334 | } | 334 | } |
335 | } | 335 | } |
336 | 336 | ||
337 | #define VIRTIO_ID_9P 9 | ||
338 | |||
339 | static struct virtio_device_id id_table[] = { | 337 | static struct virtio_device_id id_table[] = { |
340 | { VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID }, | 338 | { VIRTIO_ID_9P, VIRTIO_DEV_ANY_ID }, |
341 | { 0 }, | 339 | { 0 }, |