aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-23 02:14:56 -0800
committerVinson Lee <[email protected]>2010-01-23 02:14:56 -0800
commit146a77af3f68d3a935fad5b143123280049e6c60 (patch)
tree8b33ed02c87d20c86911eed283056ab8f94f6f98
parent4bad0aef40b87cf1a2ef8ecb5cd560d8a162d0ec (diff)
radeon: Remove unused variable.
-rw-r--r--src/mesa/drivers/dri/radeon/radeon_cs_legacy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
index bf46eb8aaba..cc951a12cbc 100644
--- a/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
+++ b/src/mesa/drivers/dri/radeon/radeon_cs_legacy.c
@@ -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);