virtio: drop VIRTIO_F_VERSION_1 from drivers
authorMichael S. Tsirkin <mst@redhat.com>
Mon, 1 Dec 2014 14:49:44 +0000 (16:49 +0200)
committerMichael S. Tsirkin <mst@redhat.com>
Tue, 9 Dec 2014 10:06:32 +0000 (12:06 +0200)
Core activates this bit automatically now,
drop it from drivers that set it explicitly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/block/virtio_blk.c
drivers/char/virtio_console.c
drivers/net/virtio_net.c
drivers/scsi/virtio_scsi.c

index 1f8b111c5dab788ce32e27f165d5330b0e3fb721..1fb9e09fbbc5d5f15dc3cf612c5685ecb62c0505 100644 (file)
@@ -836,7 +836,6 @@ static unsigned int features[] = {
        VIRTIO_BLK_F_RO, VIRTIO_BLK_F_BLK_SIZE,
        VIRTIO_BLK_F_TOPOLOGY,
        VIRTIO_BLK_F_MQ,
-       VIRTIO_F_VERSION_1,
 };
 
 static struct virtio_driver virtio_blk = {
index 775c8982136435e7c5365a8282a736234dc517b1..6cc832b45185bdd2c3de5226f2c6fb40a112427e 100644 (file)
@@ -2130,7 +2130,6 @@ static struct virtio_device_id id_table[] = {
 static unsigned int features[] = {
        VIRTIO_CONSOLE_F_SIZE,
        VIRTIO_CONSOLE_F_MULTIPORT,
-       VIRTIO_F_VERSION_1,
 };
 
 static struct virtio_device_id rproc_serial_id_table[] = {
index 9ab3c50cab766a25bb7e0073125c421e31bc9dd1..b8bd7191572dca25315c71558b434902720a63cc 100644 (file)
@@ -2004,7 +2004,6 @@ static unsigned int features[] = {
        VIRTIO_NET_F_GUEST_ANNOUNCE, VIRTIO_NET_F_MQ,
        VIRTIO_NET_F_CTRL_MAC_ADDR,
        VIRTIO_F_ANY_LAYOUT,
-       VIRTIO_F_VERSION_1,
 };
 
 static struct virtio_driver virtio_net_driver = {
index d9ec80698d639928f57652fd0fc3f407d14c5cc6..23082782344c7fb0f9ad8245df09bd52bb843f1f 100644 (file)
@@ -1085,7 +1085,6 @@ static unsigned int features[] = {
        VIRTIO_SCSI_F_HOTPLUG,
        VIRTIO_SCSI_F_CHANGE,
        VIRTIO_SCSI_F_T10_PI,
-       VIRTIO_F_VERSION_1,
 };
 
 static struct virtio_driver virtio_scsi_driver = {
This page took 0.027796 seconds and 5 git commands to generate.