Remove redundant conditional check