From: Dave Airlie Date: Mon, 18 Dec 2017 04:29:19 +0000 (+0000) Subject: r600: fix unused variable warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=af9e34b8d71c361dd51a8c74f26630a61e3a8ceb;p=mesa.git r600: fix unused variable warning Signed-off-by: Dave Airlie --- diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index e3731af64e1..96475e64b59 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -4707,7 +4707,6 @@ bool evergreen_emit_atomic_buffer_setup(struct r600_context *rctx, struct r600_shader_atomic *combined_atomics, uint8_t *atomic_used_mask_p) { - struct radeon_winsys_cs *cs = rctx->b.gfx.cs; struct r600_atomic_buffer_state *astate = &rctx->atomic_buffer_state; unsigned pkt_flags = 0; uint8_t atomic_used_mask = 0;