savevm: Remove dead code in save_snapshot()
commit80ef0586d36a49ada917ac4e775a3c3574c9713e
authorTuguoyi <tu.guoyi@h3c.com>
Tue, 8 Dec 2020 06:53:35 +0000 (8 14:53 +0800)
committerDr. David Alan Gilbert <dgilbert@redhat.com>
Fri, 18 Dec 2020 10:08:24 +0000 (18 10:08 +0000)
tree03e8ae673ef4b10a5e093511470ddc59996c7505
parent243e7480d5bc769cffa2df7f17f91c16deb511b6
savevm: Remove dead code in save_snapshot()

The snapshot in each bs is deleted at the beginning, so there is no need
to find the snapshot again.

Signed-off-by: Tuguoyi <tu.guoyi@h3c.com>
Message-Id: <1607410416-13563-2-git-send-email-tu.guoyi@h3c.com>
Reviewed-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: Dr. David Alan Gilbert <dgilbert@redhat.com>
migration/savevm.c