'Remove all function alignments.
:return: None'

def remove_function_alignments(self):

    for func_addr in self.kb.functions.keys():
        function = self.kb.functions[func_addr]
        if (function.is_simprocedure or function.is_syscall):
            continue
        if (len(function.block_addrs_set) == 1):
            block = next((b for b in function.blocks), None)
            if (block is None):
                continue
            if all((self._is_noop_insn(insn) for insn in block.capstone.insns)):
                l.debug('Function    chunk    %#x    is    used    as    function    alignments.    Removing    it.', func_addr)
                del self.kb.functions[func_addr]
