aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/netmap/netmap_generic.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/netmap/netmap_generic.c')
-rw-r--r--sys/dev/netmap/netmap_generic.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/netmap/netmap_generic.c b/sys/dev/netmap/netmap_generic.c
index 038d6efc33f5..77c56c74df65 100644
--- a/sys/dev/netmap/netmap_generic.c
+++ b/sys/dev/netmap/netmap_generic.c
@@ -1034,10 +1034,6 @@ generic_netmap_dtor(struct netmap_adapter *na)
nm_prinf("Native netmap adapter for %s restored", prev_na->name);
}
NM_RESTORE_NA(ifp, prev_na);
- /*
- * netmap_detach_common(), that it's called after this function,
- * overrides WNA(ifp) if na->ifp is not NULL.
- */
na->ifp = NULL;
nm_prinf("Emulated netmap adapter for %s destroyed", na->name);
}