ASoC: Intel: atom: sst_ipc: remove useless initializations
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Fri, 20 May 2022 21:17:10 +0000 (16:17 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 6 Jun 2022 11:35:13 +0000 (12:35 +0100)
commita140785b701d286374ea1b26762f333e4f5e9ee3
tree0c3dd649c81e3cec591a1d5d72b29128b09066b2
parentd8af541139fa135a250c5ae743bfec3b49e97c3a
ASoC: Intel: atom: sst_ipc: remove useless initializations

cppcheck throws invalid NULL dereference warnings but there's indeed
no need to initialize a loop variable or initialize to NULL before
allocating memory.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220520211719.607543-8-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/intel/atom/sst/sst_ipc.c