summaryrefslogtreecommitdiff
path: root/sys/dev/pci/auvia.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/pci/auvia.c')
-rw-r--r--sys/dev/pci/auvia.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/pci/auvia.c b/sys/dev/pci/auvia.c
index 3a2dbfcdaed..c534a1a9933 100644
--- a/sys/dev/pci/auvia.c
+++ b/sys/dev/pci/auvia.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auvia.c,v 1.7 2001/05/16 05:22:58 mickey Exp $ */
+/* $OpenBSD: auvia.c,v 1.8 2001/05/16 12:51:49 ho Exp $ */
/* $NetBSD: auvia.c,v 1.7 2000/11/15 21:06:33 jdolecek Exp $ */
/*-
@@ -820,11 +820,6 @@ auvia_build_dma_ops(struct auvia_softc *sc, struct auvia_softc_chan *ch,
ch->sc_dma_ops = auvia_malloc(sc, 0,
sizeof(struct auvia_dma_op) * segs, M_DEVBUF, M_WAITOK);
- if (ch->sc_dma_ops == NULL) {
- printf("%s: couldn't build dmaops\n", sc->sc_dev.dv_xname);
- return 1;
- }
-
for (dp = sc->sc_dmas;
dp && dp->addr != (void *)(ch->sc_dma_ops);
dp = dp->next)