o No need to set values to 0 when we utilize M_ZERO
Approved by: peter
This commit is contained in:
parent
4fe31a633b
commit
786277e5d2
@ -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