summaryrefslogtreecommitdiff
path: root/sys/dev/ic/ac97.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/ac97.c')
-rw-r--r--sys/dev/ic/ac97.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/dev/ic/ac97.c b/sys/dev/ic/ac97.c
index 3534f0b0832..57e0a4dd01c 100644
--- a/sys/dev/ic/ac97.c
+++ b/sys/dev/ic/ac97.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: ac97.c,v 1.16 2001/05/16 08:19:21 deraadt Exp $ */
+/* $OpenBSD: ac97.c,v 1.17 2001/05/16 12:51:48 ho Exp $ */
/*
* Copyright (c) 1999, 2000 Constantine Sapuntzakis
@@ -583,9 +583,6 @@ ac97_attach(host_if)
int error, i;
as = malloc(sizeof(struct ac97_softc), M_DEVBUF, M_WAITOK);
- if (!as)
- return (ENOMEM);
-
bzero(as, sizeof(*as));
as->codec_if.vtbl = &ac97civ;