def zero_reduction_variables(red_call_list, parent):
    """zero all reduction variables associated with the calls in the call
    list"""
    if red_call_list:
        from psyclone.f2pygen import CommentGen
        parent.add(CommentGen(parent, ''))
        parent.add(CommentGen(parent, ' Zero summation variables'))
        parent.add(CommentGen(parent, ''))
        for call in red_call_list:
            call.zero_reduction_variable(parent)
        parent.add(CommentGen(parent, ''))
