From 47af932d167c82a93fbc58fe2f4b00e936b02924 Mon Sep 17 00:00:00 2001 From: "Figo.zhang" Date: Sun, 7 Jun 2009 13:37:27 +0800 Subject: [PATCH] --- yaml --- r: 148471 b: refs/heads/master c: ad0b0822f98ef547e2461ce463e4233bad7848a8 h: refs/heads/master i: 148469: 90cb85f1c1cd8537ff86323cb2c5eb0cbe70add8 148467: a253f1045b459f7c6250b86525ef77d430bc5ee8 148463: a7100c0b92f367a3322a70a711aef76b29951c01 v: v3 --- [refs] | 2 +- trunk/sound/mips/sgio2audio.c | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index ea4a33702154..373192c44615 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 13be1bf1467e3186a4a9d1b1276cc4bd31e472ea +refs/heads/master: ad0b0822f98ef547e2461ce463e4233bad7848a8 diff --git a/trunk/sound/mips/sgio2audio.c b/trunk/sound/mips/sgio2audio.c index 66f3b48ceafc..e497525bc11b 100644 --- a/trunk/sound/mips/sgio2audio.c +++ b/trunk/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; }