Skip to content

Commit

Permalink
virtio: get rid of redundant VIRTIO_ID_9P definition
Browse files Browse the repository at this point in the history
VIRTIO_ID_9P is already defined in include/linux/virtio_9p.h
so use that definition instead.

Signed-off-by: Fernando Luis Vazquez Cao <[email protected]>
Signed-off-by: Rusty Russell <[email protected]>
Cc: Eric Van Hensbergen <[email protected]>
  • Loading branch information
Fernando Luis Vazquez Cao authored and rustyrussell committed Sep 23, 2009
1 parent 3c1b27d commit 3a20210
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions net/9p/trans_virtio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
Expand Down

0 comments on commit 3a20210

Please sign in to comment.