Remove unnecessary case statement