Remove unnecessary cycle