Remove redundant test

The condition is always false.