gallivm: Remove redundant initialization of dst_vec_type.
authorVinson Lee <vlee@vmware.com>
Mon, 19 Apr 2010 07:35:02 +0000 (00:35 -0700)
committerVinson Lee <vlee@vmware.com>
Mon, 19 Apr 2010 07:35:02 +0000 (00:35 -0700)
dec_vec_type is already initialized to lp_build_vec_type(dst_type) at
its declaration.

src/gallium/auxiliary/gallivm/lp_bld_pack.c

index 2daa8a3b58212114724062ad7be3d3647bba9877..186f8849b8dacb3a437764196349e58a0fca2ef7 100644 (file)
@@ -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);