Remove unneeded case statement