Useless comparison removed