OSDN Git Service

ASoC: SOF: Intel: HDA: don't keep a temporary variable
authorGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Mon, 8 Feb 2021 23:33:35 +0000 (17:33 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 10 Feb 2021 17:22:53 +0000 (17:22 +0000)
commitb9088535e1021f11500f8417598b6af1f381f7dc
treeb7040afedda07553ba9cc99ee56dba201f0ea224
parent7aecf59770920cce5ff6e94b3809574364178126
ASoC: SOF: Intel: HDA: don't keep a temporary variable

fixup_tplg_name() doesn't need to keep the string, allocated for
filename - it's temporary.

Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>
Signed-off-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@intel.com>
Link: https://lore.kernel.org/r/20210208233336.59449-11-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda.c