From: Leonid Shatz <leonid.sh...@oracle.com> Remove switch-case invalid handling of SVGA_CMD_SURFACE_FILL and SVGA_CMD_SURFACE_COPY deprecated commands as their handling is obviously not complete. We'd rather leave it to default (unknown) command handling and have an error message displayed.
Signed-off-by: Leonid Shatz <leonid.sh...@oracle.com> Reviewed-by: Darren Kenny <darren.ke...@oracle.com> Signed-off-by: Liran Alon <liran.a...@oracle.com> --- hw/display/vmware_vga.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/hw/display/vmware_vga.c b/hw/display/vmware_vga.c index b32a625ae9c2..c30ae9b4b204 100644 --- a/hw/display/vmware_vga.c +++ b/hw/display/vmware_vga.c @@ -780,8 +780,6 @@ static void vmsvga_fifo_run(struct vmsvga_state_s *s) * Other commands that are not listed as depending on any * CAPABILITIES bits, but are not described in the README either. */ - case SVGA_CMD_SURFACE_FILL: - case SVGA_CMD_SURFACE_COPY: case SVGA_CMD_INVALID_CMD: break; /* Nop */ -- 1.9.1