]> 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)
commite53b7708956468fcd1a813a15ee60400ac12a33f
treef992a0998b4b14752050bda886d4b4badce84238
parent4e7ad0f39853d4106bfc5b10c661271ab1d2adbc
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