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/mac68k | |
parent | 885c6fa9e2c5dae9c5fbc277bc5b7018e4d78ac8 (diff) |
No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r-- | sys/arch/mac68k/dev/if_sn.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sys/arch/mac68k/dev/if_sn.c b/sys/arch/mac68k/dev/if_sn.c index 649512bde69..31498f76d61 100644 --- a/sys/arch/mac68k/dev/if_sn.c +++ b/sys/arch/mac68k/dev/if_sn.c @@ -132,11 +132,6 @@ snsetup(sc, lladdr) * to do that? */ sc->space = malloc((SN_NPAGES + 1) * NBPG, M_DEVBUF, M_WAITOK); - if (sc->space == NULL) { - printf ("%s: memory allocation for descriptors failed\n", - sc->sc_dev.dv_xname); - return (1); - } /* * Put the pup in reset mode (sninit() will fix it later), |