diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@intel.com> | 2010-11-11 10:19:25 -0600 |
---|---|---|
committer | Colin Guthrie <cguthrie@mandriva.org> | 2010-11-16 21:05:22 +0000 |
commit | 13cce22268abf2b225c4f30e963dc731e662d540 (patch) | |
tree | 470790d63c62d528fda352da50be8e2eb3045b79 /src | |
parent | f564c7d76371380980faa10ee3c756c3130c60bf (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>
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/alsa/alsa-util.c | 2 |
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; |