2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-18 02:04:05 +08:00

virtio: drop VIRTIO_F_VERSION_1 from drivers

Core activates this bit automatically now,
drop it from drivers that set it explicitly.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
Michael S. Tsirkin 2014-12-01 16:49:44 +02:00
parent 747ae34a6e
commit 51cdc3815f
4 changed files with 0 additions and 4 deletions

View File

@ -836,7 +836,6 @@ static unsigned int features[] = {
VIRTIO_BLK_F_RO, VIRTIO_BLK_F_BLK_SIZE, VIRTIO_BLK_F_RO, VIRTIO_BLK_F_BLK_SIZE,
VIRTIO_BLK_F_TOPOLOGY, VIRTIO_BLK_F_TOPOLOGY,
VIRTIO_BLK_F_MQ, VIRTIO_BLK_F_MQ,
VIRTIO_F_VERSION_1,
}; };
static struct virtio_driver virtio_blk = { static struct virtio_driver virtio_blk = {

View File

@ -2130,7 +2130,6 @@ static struct virtio_device_id id_table[] = {
static unsigned int features[] = { static unsigned int features[] = {
VIRTIO_CONSOLE_F_SIZE, VIRTIO_CONSOLE_F_SIZE,
VIRTIO_CONSOLE_F_MULTIPORT, VIRTIO_CONSOLE_F_MULTIPORT,
VIRTIO_F_VERSION_1,
}; };
static struct virtio_device_id rproc_serial_id_table[] = { static struct virtio_device_id rproc_serial_id_table[] = {

View File

@ -2004,7 +2004,6 @@ static unsigned int features[] = {
VIRTIO_NET_F_GUEST_ANNOUNCE, VIRTIO_NET_F_MQ, VIRTIO_NET_F_GUEST_ANNOUNCE, VIRTIO_NET_F_MQ,
VIRTIO_NET_F_CTRL_MAC_ADDR, VIRTIO_NET_F_CTRL_MAC_ADDR,
VIRTIO_F_ANY_LAYOUT, VIRTIO_F_ANY_LAYOUT,
VIRTIO_F_VERSION_1,
}; };
static struct virtio_driver virtio_net_driver = { static struct virtio_driver virtio_net_driver = {

View File

@ -1085,7 +1085,6 @@ static unsigned int features[] = {
VIRTIO_SCSI_F_HOTPLUG, VIRTIO_SCSI_F_HOTPLUG,
VIRTIO_SCSI_F_CHANGE, VIRTIO_SCSI_F_CHANGE,
VIRTIO_SCSI_F_T10_PI, VIRTIO_SCSI_F_T10_PI,
VIRTIO_F_VERSION_1,
}; };
static struct virtio_driver virtio_scsi_driver = { static struct virtio_driver virtio_scsi_driver = {