|
@@ -145,14 +145,14 @@ static void vp_set_status(struct virtio_device *vdev, u8 status)
|
|
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
|
|
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
|
|
/* We should never be setting status to 0. */
|
|
/* We should never be setting status to 0. */
|
|
BUG_ON(status == 0);
|
|
BUG_ON(status == 0);
|
|
- return iowrite8(status, vp_dev->ioaddr + VIRTIO_PCI_STATUS);
|
|
|
|
|
|
+ iowrite8(status, vp_dev->ioaddr + VIRTIO_PCI_STATUS);
|
|
}
|
|
}
|
|
|
|
|
|
static void vp_reset(struct virtio_device *vdev)
|
|
static void vp_reset(struct virtio_device *vdev)
|
|
{
|
|
{
|
|
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
|
|
struct virtio_pci_device *vp_dev = to_vp_device(vdev);
|
|
/* 0 status means a reset. */
|
|
/* 0 status means a reset. */
|
|
- return iowrite8(0, vp_dev->ioaddr + VIRTIO_PCI_STATUS);
|
|
|
|
|
|
+ iowrite8(0, vp_dev->ioaddr + VIRTIO_PCI_STATUS);
|
|
}
|
|
}
|
|
|
|
|
|
/* the notify function used when creating a virt queue */
|
|
/* the notify function used when creating a virt queue */
|