]> git.proxmox.com Git - mirror_qemu.git/commit
qxl/update_area_io: cleanup invalid parameters handling
authorMichael Tokarev <mjt@tls.msk.ru>
Wed, 19 Sep 2012 13:41:26 +0000 (17:41 +0400)
committerGerd Hoffmann <kraxel@redhat.com>
Mon, 8 Oct 2012 10:15:16 +0000 (12:15 +0200)
commit36a03e0ba5202cf49749b2128bb62d41983681d6
tree64c2f0c87219265de5a7ec74d868a5b37e92e858
parent0ec8df3974d2a4ff95b5fd4785b9bd3def7252f3
qxl/update_area_io: cleanup invalid parameters handling

This cleans up two additions of almost the same code in commits
511b13e2c9 and ccc2960d654.  While at it, make error paths
consistent (always use 'break' instead of 'return').

Signed-off-by: Michael Tokarev <mjt@tls.msk.ru>
Cc: Dunrong Huang <riegamaths@gmail.com>
Cc: Alon Levy <alevy@redhat.com>
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
hw/qxl.c