summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/isp_pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/isp_pci.c')
-rw-r--r--sys/dev/pci/isp_pci.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/sys/dev/pci/isp_pci.c b/sys/dev/pci/isp_pci.c
index 47e940d00bf..6612d54a7df 100644
--- a/sys/dev/pci/isp_pci.c
+++ b/sys/dev/pci/isp_pci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: isp_pci.c,v 1.18 2001/04/04 22:05:37 mjacob Exp $ */
+/* $OpenBSD: isp_pci.c,v 1.19 2001/05/16 12:51:49 ho Exp $ */
/*
* PCI specific probe and attach routines for Qlogic ISP SCSI adapters.
*
@@ -769,17 +769,9 @@ isp_pci_mbxdma(struct ispsoftc *isp)
len = isp->isp_maxcmds * sizeof (XS_T);
isp->isp_xflist = (XS_T **) malloc(len, M_DEVBUF, M_WAITOK);
- if (isp->isp_xflist == NULL) {
- printf("%s: cannot malloc xflist array\n", isp->isp_name);
- return (1);
- }
bzero(isp->isp_xflist, len);
len = isp->isp_maxcmds * sizeof (bus_dmamap_t);
pci->pci_xfer_dmap = (bus_dmamap_t *) malloc(len, M_DEVBUF, M_WAITOK);
- if (pci->pci_xfer_dmap == NULL) {
- printf("%s: cannot dma xfer map array\n", isp->isp_name);
- return (1);
- }
/*
* Allocate and map the request queue.