alsa: remove redundant call to snd_pcm_nonblock()
authorPierre-Louis Bossart <pierre-louis.bossart@intel.com>
Thu, 11 Nov 2010 16:19:25 +0000 (10:19 -0600)
committerColin Guthrie <cguthrie@mandriva.org>
Tue, 16 Nov 2010 21:05:22 +0000 (21:05 +0000)
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>
src/modules/alsa/alsa-util.c

index 2d0d356..7ea26e1 100644 (file)
@@ -399,8 +399,6 @@ success:
 
     ret = 0;
 
-    snd_pcm_nonblock(pcm_handle, 1);
-
 finish:
 
     return ret;