summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound/midi/timer.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/sound/midi/timer.c')
-rw-r--r--sys/dev/sound/midi/timer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sound/midi/timer.c b/sys/dev/sound/midi/timer.c
index ba4bce0..b5c75cf 100644
--- a/sys/dev/sound/midi/timer.c
+++ b/sys/dev/sound/midi/timer.c
@@ -97,7 +97,7 @@ timerdev_install(void)
tmd = NULL;
scp = NULL;
- scp = malloc(sizeof(*scp), M_DEVBUF, M_WAITOK | M_ZERO);
+ scp = malloc(sizeof(*scp), M_DEVBUF, M_ZERO);
if (scp == NULL) {
ret = ENOMEM;
goto fail;
@@ -146,7 +146,7 @@ create_timerdev_info_unit(timerdev_info *tmdinf)
}
/* As malloc(9) might block, allocate timerdev_info now. */
- tmdnew = malloc(sizeof(timerdev_info), M_DEVBUF, M_WAITOK | M_ZERO);
+ tmdnew = malloc(sizeof(timerdev_info), M_DEVBUF, M_ZERO);
if (tmdnew == NULL)
return NULL;
bcopy(tmdinf, tmdnew, sizeof(timerdev_info));
OpenPOWER on IntegriCloud