Fix KASSERT conditions in if_deregister_com_alloc().
This commit is contained in:
parent
708f27a157
commit
affcaf7871
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=159528
@ -2279,9 +2279,9 @@ void
|
||||
if_deregister_com_alloc(u_char type)
|
||||
{
|
||||
|
||||
KASSERT(if_com_alloc[type] == NULL,
|
||||
KASSERT(if_com_alloc[type] != NULL,
|
||||
("if_deregister_com_alloc: %d not registered", type));
|
||||
KASSERT(if_com_free[type] == NULL,
|
||||
KASSERT(if_com_free[type] != NULL,
|
||||
("if_deregister_com_alloc: %d free not registered", type));
|
||||
if_com_alloc[type] = NULL;
|
||||
if_com_free[type] = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user