From: Vinson Lee Date: Sat, 23 Jan 2010 10:14:56 +0000 (-0800) Subject: radeon: Remove unused variable. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=146a77af3f68d3a935fad5b143123280049e6c60;p=mesa.git radeon: Remove unused variable. --- 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);