mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
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 <[email protected]> Cc: Christian Borntraeger <[email protected]> Cc: Martin Schwidefsky <[email protected]> Cc: Carsten Otte <[email protected]> Cc: Heiko Carstens <[email protected]> Cc: Chris Lalancette <[email protected]> Cc: Anthony Liguori <[email protected]>
This commit is contained in:
parent
2ad3cfbac5
commit
5610bd1524
1 changed files with 0 additions and 1 deletions
|
|
@ -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++;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue