radeonsi: fix trivial warning
authorChristian König <christian.koenig@amd.com>
Wed, 6 Mar 2013 10:49:53 +0000 (11:49 +0100)
committerChristian König <christian.koenig@amd.com>
Wed, 6 Mar 2013 11:07:40 +0000 (12:07 +0100)
Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeonsi/radeonsi_shader.c

index 7922928043f48339a178b3184b11e400195f874b..37ade9ba37e221df9fa61ba701bd8dc165bf9ed7 100644 (file)
@@ -478,7 +478,6 @@ static void si_llvm_init_export_args(struct lp_build_tgsi_context *bld_base,
                int cbuf = target - V_008DFC_SQ_EXP_MRT;
 
                if (cbuf >= 0 && cbuf < 8) {
-                       struct r600_context *rctx = si_shader_ctx->rctx;
                        compressed = (si_shader_ctx->key.export_16bpc >> cbuf) & 0x1;
 
                        if (compressed)