summaryrefslogtreecommitdiffstats
path: root/sys/dev/dpt
diff options
context:
space:
mode:
authormdodd <mdodd@FreeBSD.org>2005-04-13 05:03:14 +0000
committermdodd <mdodd@FreeBSD.org>2005-04-13 05:03:14 +0000
commit273ef5bed48bd197dcca814434e3cd92c96cb05f (patch)
treed8618caf92d15b985a46423cb58f4a61a15832d2 /sys/dev/dpt
parent03aa59f2eea8a2e6d5f779977babedb23cac6ad1 (diff)
downloadFreeBSD-src-273ef5bed48bd197dcca814434e3cd92c96cb05f.zip
FreeBSD-src-273ef5bed48bd197dcca814434e3cd92c96cb05f.tar.gz
Remove unnecessary dpt_free().
Diffstat (limited to 'sys/dev/dpt')
-rw-r--r--sys/dev/dpt/dpt_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/dpt/dpt_pci.c b/sys/dev/dpt/dpt_pci.c
index 309f9ac..d3b1190 100644
--- a/sys/dev/dpt/dpt_pci.c
+++ b/sys/dev/dpt/dpt_pci.c
@@ -148,7 +148,6 @@ dpt_pci_attach (device_t dev)
/* lockfunc */ busdma_lock_mutex,
/* lockarg */ &Giant,
&dpt->parent_dmat) != 0) {
- dpt_free(dpt);
error = ENXIO;
goto bad;
}
OpenPOWER on IntegriCloud