mirror of
https://github.com/qemu/qemu.git
synced 2024-11-28 06:13:46 +08:00
s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del
blockdev_mark_auto_del is already called in virtio-blk-exit. Remove the redundant call. Signed-off-by: Christian Borntraeger <borntraeger@de.ibm.com> Signed-off-by: Jens Freimann <jfrei@linux.vnet.ibm.com> Signed-off-by: Alexander Graf <agraf@suse.de>
This commit is contained in:
parent
38dd7cc776
commit
8a7df84f9f
@ -585,7 +585,6 @@ static int virtio_ccw_blk_init(VirtioCcwDevice *dev)
|
||||
static int virtio_ccw_blk_exit(VirtioCcwDevice *dev)
|
||||
{
|
||||
virtio_blk_exit(dev->vdev);
|
||||
blockdev_mark_auto_del(dev->blk.conf.bs);
|
||||
return virtio_ccw_exit(dev);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user