]> git.karo-electronics.de Git - linux-beck.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)
commit9f8196cc05caa9aba19f38f29c5f9a12722986c4
treef992a0998b4b14752050bda886d4b4badce84238
parentfa3a3279354e5f7a13ec16f2c9f5e39124745332
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