]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
virtio_pci: drop useless del_vqs call
authorSasha Levin <sasha.levin@oracle.com>
Fri, 2 Jan 2015 19:47:39 +0000 (14:47 -0500)
committerRusty Russell <rusty@rustcorp.com.au>
Wed, 21 Jan 2015 05:58:50 +0000 (16:28 +1030)
commit2bd56afd44123cea3741c7a46ddd96a46c92b8d9
treeea894fee9d106874bdc3b0dacbf8bd6baad14467
parent8cfc99b58366ea9f391fe0da7d16940ca6a1d9c0
virtio_pci: drop useless del_vqs call

Device VQs were getting freed twice: once in every device's removal
functions, and then again in virtio_pci_legacy_remove().  The ones in
devices are called first, so drop the useless second call.

Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
drivers/virtio/virtio_pci_legacy.c