o No need to set values to 0 when we utilize M_ZERO
Approved by: peter
This commit is contained in:
parent
c8ac4faa0b
commit
22524ad0e2
@ -128,8 +128,6 @@ devclass_find_internal(const char *classname, int create)
|
||||
return (NULL);
|
||||
dc->name = (char*) (dc + 1);
|
||||
strcpy(dc->name, classname);
|
||||
dc->devices = NULL;
|
||||
dc->maxunit = 0;
|
||||
TAILQ_INIT(&dc->drivers);
|
||||
TAILQ_INSERT_TAIL(&devclasses, dc, link);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user