in yick wo vs. hopkins , 30 l. ed 220 ( 1885 ) an ordinance conferring powers on officials to withhold consent in the operation of laundries both as to persons and place , was declared invalid , but the court said that the power granted was arbitrary , that there was no reason for the discrimination which attended the administration and implementation of the law , and that the motive thereof was mere racial hostility .