Mesa (master): gallivm: (trivial) remove duplicated line

Roland Scheidegger sroland at kemper.freedesktop.org
Thu Mar 16 03:03:46 UTC 2017


Module: Mesa
Branch: master
Commit: e1f9e9bafdb6da44c6bd6be8414913e481f8b031
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=e1f9e9bafdb6da44c6bd6be8414913e481f8b031

Author: Roland Scheidegger <sroland at vmware.com>
Date:   Thu Mar 16 04:01:41 2017 +0100

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




More information about the mesa-commit mailing list