From: Rusty Russell Date: Fri, 30 May 2008 20:09:42 +0000 (-0500) Subject: virtio: virtio_pci should not set bus_id. X-Git-Tag: v2.6.26-rc5~30^2~9 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=5610bd1524332fe7d651eb56cc780e32763a2ac3;p=linux-2.6-omap-h63xx.git virtio: virtio_pci should not set bus_id. The common virtio code sets the bus_id, overriding anything virtio_pci sets anyway. Signed-off-by: Rusty Russell Cc: Christian Borntraeger Cc: Martin Schwidefsky Cc: Carsten Otte Cc: Heiko Carstens Cc: Chris Lalancette Cc: Anthony Liguori --- diff --git a/drivers/virtio/virtio_pci.c b/drivers/virtio/virtio_pci.c index 27e9fc9117c..2913c2f309f 100644 --- a/drivers/virtio/virtio_pci.c +++ b/drivers/virtio/virtio_pci.c @@ -325,7 +325,6 @@ static int __devinit virtio_pci_probe(struct pci_dev *pci_dev, if (vp_dev == NULL) return -ENOMEM; - snprintf(vp_dev->vdev.dev.bus_id, BUS_ID_SIZE, "virtio%d", dev_index); vp_dev->vdev.index = dev_index; dev_index++;