X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=sound%2Fmips%2Fsgio2audio.c;h=e497525bc11bcf50612c071bdfc3c5ba186bacf1;hb=21ce3cd63365b0d07794adeb4325944bfa86fb4e;hp=66f3b48ceafcdcbedb7e4700a4ae8a341283cd3f;hpb=65fb0d23fcddd8697c871047b700c78817bdaa43;p=pandora-kernel.git diff --git a/sound/mips/sgio2audio.c b/sound/mips/sgio2audio.c index 66f3b48ceafc..e497525bc11b 100644 --- a/sound/mips/sgio2audio.c +++ b/sound/mips/sgio2audio.c @@ -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; }