r600: fix unused variable warning
authorDave Airlie <airlied@redhat.com>
Mon, 18 Dec 2017 04:29:19 +0000 (04:29 +0000)
committerDave Airlie <airlied@redhat.com>
Mon, 18 Dec 2017 04:29:57 +0000 (04:29 +0000)
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/evergreen_state.c

index e3731af64e10216b5de9a38b277c096a023b5004..96475e64b599a934505501ea3f31d883ffec51c0 100644 (file)
@@ -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;