From e1f9e9bafdb6da44c6bd6be8414913e481f8b031 Mon Sep 17 00:00:00 2001 From: Roland Scheidegger Date: Thu, 16 Mar 2017 04:01:41 +0100 Subject: [PATCH] gallivm: (trivial) remove duplicated line pointed out by clang (stored value never read) --- src/gallium/auxiliary/gallivm/lp_bld_format_soa.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c index cd17040..98eb694 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_format_soa.c @@ -505,7 +505,6 @@ lp_build_fetch_rgba_soa(struct gallivm_state *gallivm, * First, figure out fetch order. */ fetch_width = util_next_power_of_two(format_desc->block.bits); - num_gather = fetch_width / type.width; /* * fp64 are treated like fp32 except we fetch twice wide values * (as we shuffle after trunc). The shuffles for that work out -- 2.7.4