ASoC: rt1011: remove redundant code in kcontrol
authorShuming Fan <shumingf@realtek.com>
Thu, 31 Oct 2019 11:54:01 +0000 (19:54 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 31 Oct 2019 13:19:10 +0000 (14:19 +0100)
commitb9a3eea38b1eb8dd96fce64a8480e8ee38ee1451
treed62fdced955d2a667b9e0fbe8094118ad95d55ef
parent059c67f11c897a10e447d9802ace1a2069ae1b83
ASoC: rt1011: remove redundant code in kcontrol

The !component->card->instantiated statement should remove in kcontrol.
It is no need to check the card->instantiated in kcontrol.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191031115401.20898-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt1011.c