]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: Intel: Fix a self assignment in sst_mem_block_alloc_scratch()
authorChristian Engelmayer <cengelma@gmx.at>
Sun, 13 Apr 2014 20:46:31 +0000 (22:46 +0200)
committerMark Brown <broonie@linaro.org>
Tue, 15 Apr 2014 11:12:34 +0000 (12:12 +0100)
commitb9cf02e922984a856a382e9d8a535182c580352d
treed5e58f505ff2a753ce0655057acb77ed6eb0bcd8
parent501f0c740f7917dc747a5dcbd8c5620102fa6ea7
ASoC: Intel: Fix a self assignment in sst_mem_block_alloc_scratch()

Remove a self assignment in sst_mem_block_alloc_scratch(). When calculating
buffer sizes there is no need for statements without effect. Detected by
Coverity: CID 1195249.

Signed-off-by: Christian Engelmayer <cengelma@gmx.at>
Signed-off-by: Mark Brown <broonie@linaro.org>
sound/soc/intel/sst-firmware.c