Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- sparse-llvm.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sparse-llvm.c b/sparse-llvm.c index 18a38a339..bbff47877 100644 --- a/sparse-llvm.c +++ b/sparse-llvm.c @@ -761,11 +761,7 @@ static void output_op_call(struct function *fn, struct instruction *insn) LLVMValueRef *args; char name[64]; - - FOR_EACH_PTR(insn->arguments, arg) { - n_arg++; - } END_FOR_EACH_PTR(arg); - + n_arg = pseudo_list_size(insn->arguments); args = calloc(n_arg, sizeof(LLVMValueRef)); i = 0; -- 2.11.1 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html