Remove dead conditional

Fixes CID #965943