Anal mastoidectomy is an operation that restores anal function by removing the enlarged mastoid part.