From 9b32d5a5f75b6823940faf2ffa05341608ec5423 Mon Sep 17 00:00:00 2001 From: aliguori Date: Thu, 11 Dec 2008 21:20:03 +0000 Subject: pci: virtio: use pci id defines (Gerd Hoffman) Use the defines added by the previous patch in the virtio drivers. Also remove the pointless vendor and device args from the virtio_blk_init() function. Signed-off-by: Gerd Hoffmann Signed-off-by: Anthony Liguori git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5987 c046a42c-6fe2-441c-8c8c-71466251a162 --- hw/virtio-blk.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'hw/virtio-blk.h') diff --git a/hw/virtio-blk.h b/hw/virtio-blk.h index c6661c0ad7..8c91e1ece6 100644 --- a/hw/virtio-blk.h +++ b/hw/virtio-blk.h @@ -70,7 +70,6 @@ struct virtio_blk_inhdr unsigned char status; }; -void *virtio_blk_init(PCIBus *bus, uint16_t vendor, uint16_t device, - BlockDriverState *bs); +void *virtio_blk_init(PCIBus *bus, BlockDriverState *bs); #endif -- cgit v1.2.3