Remove some unnecessary code. The conditions it was checking had already been ruled out by the caller.