OSDN Git Service

ASoC: zx-tdm: remove redundant assignment to ts_width on error return path
authorColin Ian King <colin.king@canonical.com>
Wed, 31 Jul 2019 22:32:34 +0000 (23:32 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 1 Aug 2019 12:56:26 +0000 (13:56 +0100)
commitf24e41d3d04f326613d8a7ebecf72c3019826f71
tree3a8497c6567196552ff88d4277524c3ced61ea5e
parent3ff3a4f657b3fab2d56247983c2ebed180ef2fbb
ASoC: zx-tdm: remove redundant assignment to ts_width on error return path

The value assigned to ts_width is never read on the error return path
so the assignment is redundant and can be removed.  Remove it.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Link: https://lore.kernel.org/r/20190731223234.16153-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/zte/zx-tdm.c