summaryrefslogtreecommitdiffstats
path: root/sys/dev/ed
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2005-09-19 14:44:11 +0000
committerimp <imp@FreeBSD.org>2005-09-19 14:44:11 +0000
commitbe4e7ec5e926c7bb84a9834a0972c93145872f76 (patch)
treeaf8a225d9705d9c0071efc66ed4a60fa9d0c3882 /sys/dev/ed
parent583b25a64f2aaa24c8694f63278278ffbf4c05d2 (diff)
downloadFreeBSD-src-be4e7ec5e926c7bb84a9834a0972c93145872f76.zip
FreeBSD-src-be4e7ec5e926c7bb84a9834a0972c93145872f76.tar.gz
Remove duplicate if_free().
Submitted by: ru@
Diffstat (limited to 'sys/dev/ed')
-rw-r--r--sys/dev/ed/if_ed.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/ed/if_ed.c b/sys/dev/ed/if_ed.c
index 0cbe2b3..8b44310 100644
--- a/sys/dev/ed/if_ed.c
+++ b/sys/dev/ed/if_ed.c
@@ -370,7 +370,6 @@ ed_detach(device_t dev)
ether_ifdetach(ifp);
bus_teardown_intr(dev, sc->irq_res, sc->irq_handle);
ed_release_resources(dev);
- if_free(ifp);
ED_LOCK_DESTROY(sc);
return (0);
}
OpenPOWER on IntegriCloud