]> Pileus Git - ~andy/linux/blobdiff - sound/mips/sgio2audio.c
Merge branch 'topic/intel8x0' into for-linus
[~andy/linux] / sound / mips / sgio2audio.c
index 66f3b48ceafcdcbedb7e4700a4ae8a341283cd3f..e497525bc11bcf50612c071bdfc3c5ba186bacf1 100644 (file)
@@ -619,8 +619,7 @@ static int snd_sgio2audio_pcm_hw_params(struct snd_pcm_substream *substream,
 /* hw_free callback */
 static int snd_sgio2audio_pcm_hw_free(struct snd_pcm_substream *substream)
 {
-       if (substream->runtime->dma_area)
-               vfree(substream->runtime->dma_area);
+       vfree(substream->runtime->dma_area);
        substream->runtime->dma_area = NULL;
        return 0;
 }