]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: soc-core: remove redundant assignment to variable ret
authorColin Ian King <colin.i.king@gmail.com>
Tue, 17 Dec 2024 17:11:51 +0000 (17:11 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 17 Dec 2024 17:32:33 +0000 (17:32 +0000)
commitd349fd151f1aeb0d8aea4a2f0fe9ba24309609ed
tree152e0c1d14d49b8f231404dd69b1bf588ba2189a
parent644115e86023fccdaecb1318133ed14418b76f49
ASoC: soc-core: remove redundant assignment to variable ret

The variable ret is being assigned a zero value that is never read,
it is being re-assigned a new value from the return value from the
call to snd_soc_dapm_add_routes. The assignment is redundant and can
be removed.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Link: https://patch.msgid.link/20241217171151.354550-1-colin.i.king@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/soc-core.c