From: Vinson Lee Date: Mon, 19 Apr 2010 07:35:02 +0000 (-0700) Subject: gallivm: Remove redundant initialization of dst_vec_type. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7f8676c0b03c91bc974900eb783de06833a87f8d;p=mesa.git gallivm: Remove redundant initialization of dst_vec_type. dec_vec_type is already initialized to lp_build_vec_type(dst_type) at its declaration. --- 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);