mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-17 10:26:15 +00:00
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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=86114
@ -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