diff --git a/net/9p/trans_virtio.c b/net/9p/trans_virtio.c
index 53c139d31a215dd0a468676978ffa5e3918e4c24..ea1e3daabefeddb1dc6f46ddf5538b33cc3c0317 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 },