[ALSA] Remove bogus check of mmap_count in snd_pcm_release()
[linux-2.6-block.git] / sound / core / pcm_native.c
index 9e495244eee2198613b32c6edf05258b77c2d7af..439f047929e18e509961214878ffd36233d71371 100644 (file)
@@ -2205,7 +2205,6 @@ static int snd_pcm_release(struct inode *inode, struct file *file)
        pcm_file = file->private_data;
        substream = pcm_file->substream;
        snd_assert(substream != NULL, return -ENXIO);
-       snd_assert(!atomic_read(&substream->mmap_count), );
        pcm = substream->pcm;
        fasync_helper(-1, file, 0, &substream->runtime->fasync);
        mutex_lock(&pcm->open_mutex);