aboutsummaryrefslogtreecommitdiffstats
path: root/src/hw/virtio-pci.h
diff options
context:
space:
mode:
authorGerd Hoffmann <kraxel@redhat.com>2015-06-26 08:40:30 +0200
committerGerd Hoffmann <kraxel@redhat.com>2015-07-01 16:35:50 +0200
commit39989b12d523dd1c41284b4c51c95818ce26401e (patch)
treead1270f47d5974d057702e9212d89f4cca473660 /src/hw/virtio-pci.h
parent2e68fb11b3d46426544c894d2207fe70dd5e9df4 (diff)
downloadseabios-39989b12d523dd1c41284b4c51c95818ce26401e.tar.gz
virtio: remove unused vp_del_vq
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'src/hw/virtio-pci.h')
-rw-r--r--src/hw/virtio-pci.h11
1 files changed, 0 insertions, 11 deletions
diff --git a/src/hw/virtio-pci.h b/src/hw/virtio-pci.h
index 3054a139..1b5c61da 100644
--- a/src/hw/virtio-pci.h
+++ b/src/hw/virtio-pci.h
@@ -234,17 +234,6 @@ void vp_set_status(struct vp_device *vp, u8 status);
u8 vp_get_isr(struct vp_device *vp);
void vp_reset(struct vp_device *vp);
-static inline void vp_del_vq(struct vp_device *vp, int queue_index)
-{
- int ioaddr = GET_LOWFLAT(vp->ioaddr);
-
- /* select the queue */
- outw(queue_index, ioaddr + VIRTIO_PCI_QUEUE_SEL);
-
- /* deactivate the queue */
- outl(0, ioaddr + VIRTIO_PCI_QUEUE_PFN);
-}
-
struct pci_device;
struct vring_virtqueue;
void vp_init_simple(struct vp_device *vp, struct pci_device *pci);