]> git.proxmox.com Git - mirror_qemu.git/commit
memory-device: not necessary to use goto for the last check
authorWei Yang <richardw.yang@linux.intel.com>
Tue, 30 Jul 2019 00:37:39 +0000 (08:37 +0800)
committerEduardo Habkost <ehabkost@redhat.com>
Tue, 15 Oct 2019 21:18:08 +0000 (18:18 -0300)
commitfc2db8501f3bfa57000c625c1f8b304e4a15976e
treeefc7ef2b75b7bfd3c90c2c31255dfe1778b43d26
parent88552b16f2a11a51323b8a4d643e73332d89d7ef
memory-device: not necessary to use goto for the last check

We are already at the last condition check.

Signed-off-by: Wei Yang <richardw.yang@linux.intel.com>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: David Hildenbrand <david@redhat.com>
Message-Id: <20190730003740.20694-2-richardw.yang@linux.intel.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
hw/mem/memory-device.c