Fix typo when deregistering the VLAN unconfig event handler
Submitted by: Masao Uebayashi <uebayasi@tombiinc.com> MFC after: 3 days
This commit is contained in:
parent
07ac2db9a6
commit
9c7d3132bf
@ -443,7 +443,7 @@ vtnet_detach(device_t dev)
|
||||
sc->vtnet_vlan_attach = NULL;
|
||||
}
|
||||
if (sc->vtnet_vlan_detach != NULL) {
|
||||
EVENTHANDLER_DEREGISTER(vlan_unconfg, sc->vtnet_vlan_detach);
|
||||
EVENTHANDLER_DEREGISTER(vlan_unconfig, sc->vtnet_vlan_detach);
|
||||
sc->vtnet_vlan_detach = NULL;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user