summaryrefslogtreecommitdiff
path: root/sys/arch/mac68k
diff options
context:
space:
mode:
Diffstat (limited to 'sys/arch/mac68k')
-rw-r--r--sys/arch/mac68k/dev/if_sn.c5
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),