Remove redundant conditional test