summaryrefslogtreecommitdiff
path: root/sys/arch/sparc/dev/magma.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/sparc/dev/magma.c')
-rw-r--r--sys/arch/sparc/dev/magma.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/arch/sparc/dev/magma.c b/sys/arch/sparc/dev/magma.c
index dca22b6734c..5571f99a977 100644
--- a/sys/arch/sparc/dev/magma.c
+++ b/sys/arch/sparc/dev/magma.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: magma.c,v 1.7 2001/03/24 10:07:19 ho Exp $ */
+/* $OpenBSD: magma.c,v 1.8 2001/05/16 12:49:48 ho Exp $ */
/*
* magma.c
*
@@ -1591,8 +1591,6 @@ int gotdata = 0;
buflen = min(uio->uio_resid, mp->mp_burst);
buffer = malloc(buflen, M_DEVBUF, M_WAITOK);
- if( buffer == NULL )
- return(ENOMEM);
SET(mp->mp_flags, MBPPF_UIO);