From 9c00b324218d30760a11b48d360c3b9d62f3395d Mon Sep 17 00:00:00 2001 From: Eugene Teo Date: Fri, 17 Mar 2006 16:32:17 +0100 Subject: [PATCH] --- yaml --- r: 22790 b: refs/heads/master c: e64d2e36236175a56fd1d8b2acd784e21bdc7de6 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/sound/core/seq/seq_clientmgr.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 671ba35cce86..f21dd1aedc3a 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 825aa97241b46d2819c1db984c86a1a9df41b8e1 +refs/heads/master: e64d2e36236175a56fd1d8b2acd784e21bdc7de6 diff --git a/trunk/sound/core/seq/seq_clientmgr.c b/trunk/sound/core/seq/seq_clientmgr.c index aae6420f5948..bb15d9ee8842 100644 --- a/trunk/sound/core/seq/seq_clientmgr.c +++ b/trunk/sound/core/seq/seq_clientmgr.c @@ -1866,8 +1866,7 @@ static int snd_seq_ioctl_get_client_pool(struct snd_seq_client *client, info.output_pool = cptr->pool->size; info.output_room = cptr->pool->room; info.output_free = info.output_pool; - if (cptr->pool) - info.output_free = snd_seq_unused_cells(cptr->pool); + info.output_free = snd_seq_unused_cells(cptr->pool); if (cptr->type == USER_CLIENT) { info.input_pool = cptr->data.user.fifo_pool_size; info.input_free = info.input_pool;