radeon: Remove unused variable.
authorVinson Lee <vlee@vmware.com>
Sat, 23 Jan 2010 10:14:56 +0000 (02:14 -0800)
committerVinson Lee <vlee@vmware.com>
Sat, 23 Jan 2010 10:14:56 +0000 (02:14 -0800)
src/mesa/drivers/dri/radeon/radeon_cs_legacy.c

index bf46eb8aaba9b6a88b248679dc0e9abe3a6b4c35..cc951a12cbc46691e9f1126085cc0c5442c35c40 100644 (file)
@@ -180,7 +180,6 @@ static int cs_begin(struct radeon_cs_int *cs,
 
     if (cs->cdw + ndw > cs->ndw) {
         uint32_t tmp, *ptr;
-       int num = (ndw > 0x3FF) ? ndw : 0x3FF;
 
         tmp = (cs->cdw + ndw + 0x3ff) & (~0x3ff);
         ptr = (uint32_t*)realloc(cs->packets, 4 * tmp);