Eliminate a dead loop.