Drop unused dev_nctl() function

This commit is contained in:
Alexandre Ratchov 2021-01-05 18:35:09 +01:00
parent b1c2df5d9c
commit ac7ddc5301
1 changed files with 0 additions and 12 deletions

View File

@ -2576,15 +2576,3 @@ dev_label(struct dev *d, int i)
strlcpy(c->node0.name, name, CTL_NAMEMAX);
c->desc_mask = ~0;
}
int
dev_nctl(struct dev *d)
{
struct ctl *c;
int n;
n = 0;
for (c = d->ctl_list; c != NULL; c = c->next)
n++;
return n;
}