mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 16:23:55 -06:00
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:
parent
18fe46d79a
commit
fbf28a4328
3 changed files with 3 additions and 9 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue