virtio: get rid of redundant VIRTIO_ID_9P definition
authorFernando Luis Vazquez Cao <fernando@oss.ntt.co.jp>
Fri, 31 Jul 2009 03:09:05 +0000 (12:09 +0900)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 23 Sep 2009 12:56:32 +0000 (22:26 +0930)
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>
net/9p/trans_virtio.c

index 53c139d..ea1e3da 100644 (file)
@@ -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 },