ASOC: SOF: Intel: hda-codec: move unused label to correct position
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 13 Aug 2020 17:58:35 +0000 (12:58 -0500)
committerMark Brown <broonie@kernel.org>
Mon, 17 Aug 2020 14:42:56 +0000 (15:42 +0100)
commit11ec0edc6408a739dffca34ebbbe921817c3b10e
treeda9596fd7ddbb02fa9be30b9811441617b9745b8
parent549ade5721fe197b78165fc3476af1fe0c65f089
ASOC: SOF: Intel: hda-codec: move unused label to correct position

Cppcheck reports the following warning:

sound/soc/sof/intel/hda-codec.c:191:1: style: Label 'error' is not
used. [unusedLabel]

This label is indeed only used conditionally, move it where it's
actually used.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20200813175839.59422-2-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sof/intel/hda-codec.c