diff options
author | Hakan Olsson <ho@cvs.openbsd.org> | 2001-05-16 12:50:22 +0000 |
---|---|---|
committer | Hakan Olsson <ho@cvs.openbsd.org> | 2001-05-16 12:50:22 +0000 |
commit | a1ba5f046489f61451990b86f39a64f15b7a177a (patch) | |
tree | 592ed6a3cf10a0b29b117e9b3506d9e32bf50813 /sys/arch/mvme88k/dev/vs.c | |
parent | 885c6fa9e2c5dae9c5fbc277bc5b7018e4d78ac8 (diff) |
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/arch/mvme88k/dev/vs.c')
-rw-r--r-- | sys/arch/mvme88k/dev/vs.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/arch/mvme88k/dev/vs.c b/sys/arch/mvme88k/dev/vs.c index 51587ba9aa7..da71e0ef0ca 100644 --- a/sys/arch/mvme88k/dev/vs.c +++ b/sys/arch/mvme88k/dev/vs.c @@ -1,4 +1,4 @@ -/* $OpenBSD: vs.c,v 1.5 2001/03/09 05:44:39 smurph Exp $ */ +/* $OpenBSD: vs.c,v 1.6 2001/05/16 12:49:47 ho Exp $ */ /* * Copyright (c) 1999 Steve Murphree, Jr. @@ -927,10 +927,6 @@ vs_alloc_scatter_gather(void) M328_SG sg; MALLOC(sg, M328_SG, sizeof(struct m328_sg), M_DEVBUF, M_WAITOK); - assert ( sg ); - if ( !sg ) { - panic ("Memory for scatter_gather_list not available"); - } bzero(sg, sizeof(struct m328_sg)); return (sg); |