diff options
Diffstat (limited to 'sound/core/seq/seq_queue.c')
-rw-r--r-- | sound/core/seq/seq_queue.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sound/core/seq/seq_queue.c b/sound/core/seq/seq_queue.c index aad4878cee55..a0cda38205b9 100644 --- a/sound/core/seq/seq_queue.c +++ b/sound/core/seq/seq_queue.c | |||
@@ -111,10 +111,8 @@ static struct snd_seq_queue *queue_new(int owner, int locked) | |||
111 | struct snd_seq_queue *q; | 111 | struct snd_seq_queue *q; |
112 | 112 | ||
113 | q = kzalloc(sizeof(*q), GFP_KERNEL); | 113 | q = kzalloc(sizeof(*q), GFP_KERNEL); |
114 | if (q == NULL) { | 114 | if (!q) |
115 | pr_debug("ALSA: seq: malloc failed for snd_seq_queue_new()\n"); | ||
116 | return NULL; | 115 | return NULL; |
117 | } | ||
118 | 116 | ||
119 | spin_lock_init(&q->owner_lock); | 117 | spin_lock_init(&q->owner_lock); |
120 | spin_lock_init(&q->check_lock); | 118 | spin_lock_init(&q->check_lock); |