r600g: Remove unused variable.

Fixes this GCC warning.
eg_hw_states.c: In function 'eg_resource':
eg_hw_states.c:525: warning: unused variable 'r'
This commit is contained in:
Vinson Lee 2010-09-24 23:17:55 -07:00
parent 68fdd5f0d9
commit 95cb6d30ae

View file

@ -522,7 +522,6 @@ static void eg_resource(struct pipe_context *ctx, struct radeon_state *rstate,
unsigned format;
uint32_t word4 = 0, yuv_format = 0, pitch = 0;
unsigned char swizzle[4];
int r;
rstate->cpm4 = 0;
swizzle[0] = view->swizzle_r;