I think you're looking here for a name of a law that was passed in 1965 and that removed immigration quotas based on race.
this would be the 1965 Immigrant Act. - it did exactly what you described and introduced other kinds of criteria, such as a relation to US citizens.