summaryrefslogtreecommitdiffstats
path: root/src/gallium/winsys/svga/drm
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2015-09-08 09:39:40 -0600
committerBrian Paul <[email protected]>2015-09-10 12:23:46 -0600
commitbc75fe214d428f857155ae6737194c73ddfed55f (patch)
tree50a97085501d3e8acde0ace5e5a6d55293aecbb9 /src/gallium/winsys/svga/drm
parent9de62819c9d4764b77b092e3007b489e3e2f1448 (diff)
winsys/svga: remove useless assertion
An unsigned int is always >= 0. Found with Coverity. Reviewed-by: Charmaine Lee <[email protected]>
Diffstat (limited to 'src/gallium/winsys/svga/drm')
-rw-r--r--src/gallium/winsys/svga/drm/vmw_context.c1
1 files changed, 0 insertions, 1 deletions
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;