Remove NULL allocation checking since malloc() is allow to wait.

(I'll fix other places later..)
This commit is contained in:
Ariff Abdullah 2007-03-15 15:06:54 +00:00
parent 8c0a77e3d3
commit 7a5897d4d9

View File

@ -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