]> git.baikalelectronics.ru Git - kernel.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)
commit9cececc17fdd68c3d69959534bad5ff4f79b5ee1
tree6f45f48f967e034628fab51b0f326730ffecc956
parent68731287ba95bba00ff25bd24b2d872e74c9b31f
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