diff options
author | Vinson Lee <vlee@vmware.com> | 2010-01-23 02:14:56 -0800 |
---|---|---|
committer | Vinson Lee <vlee@vmware.com> | 2010-01-23 02:14:56 -0800 |
commit | 146a77af3f68d3a935fad5b143123280049e6c60 (patch) | |
tree | 8b33ed02c87d20c86911eed283056ab8f94f6f98 /src | |
parent | 4bad0aef40b87cf1a2ef8ecb5cd560d8a162d0ec (diff) |
radeon: Remove unused variable.
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/drivers/dri/radeon/radeon_cs_legacy.c | 1 |
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 bf46eb8aab..cc951a12cb 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); |