Remove unnecessary case.