Since dynamic allocation of device major numbers so far have not

resulted in any earthquakes, civil wars or early onset hair-loss,
I think we can do without the printf announcing the assigned number.
This commit is contained in:
Poul-Henning Kamp 2003-04-13 15:27:49 +00:00
parent 710b5ef8fc
commit 7c1d57b6e8

View File

@ -291,7 +291,6 @@ make_dev(struct cdevsw *devsw, int minor, uid_t uid, gid_t gid, int perms, const
if (reserved_majors[i] != i)
break;
KASSERT(i > 0, ("Out of major numbers (%s)", devsw->d_name));
printf("Allocating major#%d to \"%s\"\n", i, devsw->d_name);
devsw->d_maj = i;
reserved_majors[i] = i;
} else {