Remove an unneeded test

... to make Coverity happy.