summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAriff Abdullah <ariff@FreeBSD.org>2007-03-15 15:06:54 +0000
committerAriff Abdullah <ariff@FreeBSD.org>2007-03-15 15:06:54 +0000
commit7a5897d4d933f9520350c6f723eeff1c106ee9a6 (patch)
tree3ad0d2aa630db79b24201197ebde8886f7f1d490
parent8c0a77e3d34f527d2e5f774cc1d968f85abd2ce2 (diff)
Notes
-rw-r--r--sys/dev/sound/pcm/sound.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/sound/pcm/sound.c b/sys/dev/sound/pcm/sound.c
index 5e54ee813bf5..9b65d9d72323 100644
--- a/sys/dev/sound/pcm/sound.c
+++ b/sys/dev/sound/pcm/sound.c
@@ -67,8 +67,6 @@ snd_mtxcreate(const char *desc, const char *type)
struct mtx *m;
m = malloc(sizeof(*m), M_DEVBUF, M_WAITOK | M_ZERO);
- if (m == NULL)
- return NULL;
mtx_init(m, desc, type, MTX_DEF);
return m;
#else