From bc75fe214d428f857155ae6737194c73ddfed55f Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 8 Sep 2015 09:39:40 -0600 Subject: winsys/svga: remove useless assertion An unsigned int is always >= 0. Found with Coverity. Reviewed-by: Charmaine Lee --- src/gallium/winsys/svga/drm/vmw_context.c | 1 - 1 file changed, 1 deletion(-) (limited to 'src/gallium/winsys/svga/drm/vmw_context.c') diff --git a/src/gallium/winsys/svga/drm/vmw_context.c b/src/gallium/winsys/svga/drm/vmw_context.c index 394795eae14..1675af4cbc8 100644 --- a/src/gallium/winsys/svga/drm/vmw_context.c +++ b/src/gallium/winsys/svga/drm/vmw_context.c @@ -591,7 +591,6 @@ vmw_swc_commit(struct svga_winsys_context *swc) { struct vmw_svga_winsys_context *vswc = vmw_svga_winsys_context(swc); - assert(vswc->command.reserved >= 0); assert(vswc->command.used + vswc->command.reserved <= vswc->command.size); vswc->command.used += vswc->command.reserved; vswc->command.reserved = 0; -- cgit v1.2.3