[Mesa-dev] [PATCH] radeonsi: drop two unused variables in create_function()

Marek Olšák maraeo at gmail.com
Tue Aug 8 17:22:23 UTC 2017


Reviewed-by: Marek Olšák <marek.olsak at amd.com>

Marek

On Mon, Aug 7, 2017 at 12:41 PM, Samuel Pitoiset
<samuel.pitoiset at gmail.com> wrote:
> Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
> ---
>  src/gallium/drivers/radeonsi/si_shader.c | 2 --
>  1 file changed, 2 deletions(-)
>
> diff --git a/src/gallium/drivers/radeonsi/si_shader.c b/src/gallium/drivers/radeonsi/si_shader.c
> index 035e36fbab..b2765b5089 100644
> --- a/src/gallium/drivers/radeonsi/si_shader.c
> +++ b/src/gallium/drivers/radeonsi/si_shader.c
> @@ -4313,8 +4313,6 @@ enum {
>
>  static void create_function(struct si_shader_context *ctx)
>  {
> -       struct lp_build_tgsi_context *bld_base = &ctx->bld_base;
> -       struct gallivm_state *gallivm = &ctx->gallivm;
>         struct si_shader *shader = ctx->shader;
>         struct si_function_info fninfo;
>         LLVMTypeRef returns[16+32*4];
> --
> 2.14.0
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev


More information about the mesa-dev mailing list