summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@intel.com>2010-11-11 10:19:25 -0600
committerColin Guthrie <cguthrie@mandriva.org>2010-11-17 22:02:29 +0000
commit34fd60567712cef97de04d32534f0ef841cb5cae (patch)
tree361f385bcd7ba97292288f405a6c4b1d169dd282
parent2c9c908e856455dac36402a22e6575af131174ac (diff)
alsa: remove redundant call to snd_pcm_nonblock()
The PCM handle is already opened with the SND_PCM_NONBLOCK flag. This additional call is useless. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
-rw-r--r--src/modules/alsa/alsa-util.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/modules/alsa/alsa-util.c b/src/modules/alsa/alsa-util.c
index 2d0d3563..7ea26e14 100644
--- a/src/modules/alsa/alsa-util.c
+++ b/src/modules/alsa/alsa-util.c
@@ -399,8 +399,6 @@ success:
ret = 0;
- snd_pcm_nonblock(pcm_handle, 1);
-
finish:
return ret;