From 7f8676c0b03c91bc974900eb783de06833a87f8d Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 19 Apr 2010 00:35:02 -0700 Subject: [PATCH] gallivm: Remove redundant initialization of dst_vec_type. dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration. --- src/gallium/auxiliary/gallivm/lp_bld_pack.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/gallium/auxiliary/gallivm/lp_bld_pack.c b/src/gallium/auxiliary/gallivm/lp_bld_pack.c index 2daa8a3b582..186f8849b8d 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_pack.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_pack.c @@ -263,8 +263,6 @@ lp_build_pack2(LLVMBuilderRef builder, LLVMValueRef shuffle; LLVMValueRef res; - dst_vec_type = lp_build_vec_type(dst_type); - assert(!src_type.floating); assert(!dst_type.floating); assert(src_type.width == dst_type.width * 2); -- 2.30.2