summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/sst-dsp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/intel/sst-dsp.c')
-rw-r--r--sound/soc/intel/sst-dsp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/intel/sst-dsp.c b/sound/soc/intel/sst-dsp.c
index 86e410845670..64e94212d2d2 100644
--- a/sound/soc/intel/sst-dsp.c
+++ b/sound/soc/intel/sst-dsp.c
@@ -410,8 +410,7 @@ void sst_dsp_free(struct sst_dsp *sst)
if (sst->ops->free)
sst->ops->free(sst);
- if (sst->dma)
- sst_dma_free(sst->dma);
+ sst_dma_free(sst->dma);
}
EXPORT_SYMBOL_GPL(sst_dsp_free);