qxl/update_area_io: cleanup invalid parameters handling
This cleans up two additions of almost the same code in commits 511b13e2 and ccc2960d. While at it, make error paths consistent (always use 'break' instead of 'return'). Signed-off-by: NMichael Tokarev <mjt@tls.msk.ru> Cc: Dunrong Huang <riegamaths@gmail.com> Cc: Alon Levy <alevy@redhat.com> Signed-off-by: NGerd Hoffmann <kraxel@redhat.com>
Showing
想要评论请 注册 或 登录