s390/virtio-ccw: remove redundant call to blockdev_mark_auto_del
authorChristian Borntraeger <borntraeger@de.ibm.com>
Fri, 22 Feb 2013 09:01:33 +0000 (09:01 +0000)
committerAlexander Graf <agraf@suse.de>
Fri, 8 Mar 2013 20:17:46 +0000 (21:17 +0100)
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>
hw/s390x/virtio-ccw.c

index d92e42735cf56bf9d77f991f9d4ef7b99ba45634..a9cf703d53a4160eba566936f62c117fb5c8ce48 100644 (file)
@@ -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);
 }