]> git.baikalelectronics.ru Git - kernel.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)
commite4bbdba033312f22205e8e78c4434b1711baf86c
treeea894fee9d106874bdc3b0dacbf8bd6baad14467
parentc0442c6b671250eea17a75853998e9d1d0eac0d4
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