remove unreachable codes

the variable `isInterpolation` is always true because of c5bb0ac700daa32