From 1df250c8bdd5738ee1bccc657b36c71a9607b223 Mon Sep 17 00:00:00 2001 From: Harvey Harrison Date: Mon, 31 Mar 2008 17:53:55 -0700 Subject: [PATCH] --- yaml --- r: 95755 b: refs/heads/master c: 597d56e4b51fc3385e097e52d6e92bf596ff21ec h: refs/heads/master i: 95753: 71dc26e1fd9ab494aadacc4bd7198f84847b45a5 95751: 1d02d22979db1903f6ee7b319b0344c021f4a7e2 v: v3 --- [refs] | 2 +- trunk/drivers/virtio/virtio_pci.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index bf3a131719cb..99c9903f0a11 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 655aa31f028c4498e8896576571ee1ea68dd26e0 +refs/heads/master: 597d56e4b51fc3385e097e52d6e92bf596ff21ec diff --git a/trunk/drivers/virtio/virtio_pci.c b/trunk/drivers/virtio/virtio_pci.c index c0df924766a7..de102a614e97 100644 --- a/trunk/drivers/virtio/virtio_pci.c +++ b/trunk/drivers/virtio/virtio_pci.c @@ -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); /* We should never be setting status to 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) { struct virtio_pci_device *vp_dev = to_vp_device(vdev); /* 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 */