block: Drop superfluous conditionals around qemu_opts_del()
Signed-off-by: Markus Armbruster <armbru@redhat.com> Reviewed-by: Eric Blake <eblake@redhat.com> Message-id: 1411999675-14533-1-git-send-email-armbru@redhat.com Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
This commit is contained in:
committed by
Stefan Hajnoczi
parent
18fe46d79a
commit
fbf28a4328
+1
-3
@@ -778,9 +778,7 @@ int main(int argc, char **argv)
|
||||
unlink(sockpath);
|
||||
}
|
||||
|
||||
if (sn_opts) {
|
||||
qemu_opts_del(sn_opts);
|
||||
}
|
||||
qemu_opts_del(sn_opts);
|
||||
|
||||
if (device) {
|
||||
void *ret;
|
||||
|
||||
Reference in New Issue
Block a user