Remove an unneeded if statement.