ASoC: SOF: sof-audio: remove useless assignment
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 21 Apr 2022 16:26:00 +0000 (11:26 -0500)
committerMark Brown <broonie@kernel.org>
Fri, 22 Apr 2022 11:37:29 +0000 (12:37 +0100)
commitd516e96bdeca103224de2f84685bf733953b6303
treea6e44dc4f5d82352a869e13071882db591cedcb6
parentc3429de5b139c7e3765df1d18446d02a5ada7f74
ASoC: SOF: sof-audio: remove useless assignment

There is no need to assign spcm to NULL. Removing this assignment also
removes a false alarm reported by cppcheck.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20220421162600.302230-1-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/sof-audio.h