]> git.baikalelectronics.ru Git - kernel.git/commit
virtio_pci: remove the call to vp_free_vectors in vp_request_msix_vectors
authorChristoph Hellwig <hch@lst.de>
Thu, 17 Nov 2016 10:43:14 +0000 (11:43 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Thu, 15 Dec 2016 22:12:48 +0000 (00:12 +0200)
commit6cdef42d39d5cf87f188bb6e73c08778f7ebde4f
treef992a0998b4b14752050bda886d4b4badce84238
parent2489f9b5d7ef84c32dcd57e381823322a8b1ce86
virtio_pci: remove the call to vp_free_vectors in vp_request_msix_vectors

vp_request_msix_vectors is only called by vp_try_to_find_vqs, which already
calls vp_free_vectors through vp_del_vqs in the failure case.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
drivers/virtio/virtio_pci_common.c