]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
ASoC: Intel: Delete an unnecessary check before the function call "sst_dma_free"
authorMarkus Elfring <elfring@users.sourceforge.net>
Sat, 3 Jan 2015 18:03:55 +0000 (19:03 +0100)
committerMark Brown <broonie@kernel.org>
Mon, 5 Jan 2015 19:02:35 +0000 (19:02 +0000)
commit544c55c810a55dcfd2febbc33105642923be9192
tree6f45f48f967e034628fab51b0f326730ffecc956
parent85b88a8dd0c758464f31a9758deb27b31c0d5de7
ASoC: Intel: Delete an unnecessary check before the function call "sst_dma_free"

The sst_dma_free() function tests whether its argument is NULL and then
returns immediately. Thus the test around the call is not needed.

This issue was detected by using the Coccinelle software.

Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/sst-dsp.c