OSDN Git Service

ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret
authorColin Ian King <colin.king@canonical.com>
Mon, 10 Feb 2020 09:24:22 +0000 (09:24 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 11 Feb 2020 11:47:59 +0000 (11:47 +0000)
commitf4d95de415b286090c1bf739c20a5ea2aefda834
tree611cb1c0bfcc037138e124560f6c4b1ae365f9df
parentda22a95313197a349c557b98e3bee4e2b04d4f9d
ASoC: ti: davinci-mcasp: remove redundant assignment to variable ret

The assignment to ret is redundant as it is not used in the error
return path and hence can be removed.

Addresses-Coverity: ("Unused value")
Signed-off-by: Colin Ian King <colin.king@canonical.com>
Acked-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Link: https://lore.kernel.org/r/20200210092423.327499-1-colin.king@canonical.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/ti/davinci-mcasp.c