diff options
author | Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> | 2023-05-18 10:27:48 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-18 13:25:21 +0300 |
commit | 22e15c18b4a91c71bf66de06187b8a3199bb8cad (patch) | |
tree | b347924bebac08645339794a017dcd739bdf2919 /sound/soc/codecs/rt711.h | |
parent | 8322947e9228ef7f8c3dd13822d32c491f9488e7 (diff) | |
download | linux-22e15c18b4a91c71bf66de06187b8a3199bb8cad.tar.xz |
ASoC: codecs: rt711: do not store status in state container
Driver in its update status callback stores Soundwire device status in
state container but it never uses it later. Simplify the code a bit.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com
Link: https://lore.kernel.org/r/20230518072753.7361-8-krzysztof.kozlowski@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/codecs/rt711.h')
-rw-r--r-- | sound/soc/codecs/rt711.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt711.h b/sound/soc/codecs/rt711.h index b31351f11df9..491e357191f9 100644 --- a/sound/soc/codecs/rt711.h +++ b/sound/soc/codecs/rt711.h @@ -15,7 +15,6 @@ struct rt711_priv { struct regmap *sdw_regmap; struct snd_soc_component *component; struct sdw_slave *slave; - enum sdw_slave_status status; struct sdw_bus_params params; bool hw_init; bool first_hw_init; |