Remove bogus conditional check

Found with Coverity (CID 1163350).