summaryrefslogtreecommitdiffstats
path: root/sound/soc/codecs/rt1318-sdw.h
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2023-05-18 09:27:44 +0200
committerMark Brown <broonie@kernel.org>2023-05-18 12:25:18 +0200
commit28eb1e4224c3b3ff29fe4c29bcdc011d3a0ffd07 (patch)
tree0f15f67f38f8dc625a2b27a21d855160e8ae70e8 /sound/soc/codecs/rt1318-sdw.h
parentASoC: codecs: rt1316: do not store status in state container (diff)
downloadlinux-28eb1e4224c3b3ff29fe4c29bcdc011d3a0ffd07.tar.xz
linux-28eb1e4224c3b3ff29fe4c29bcdc011d3a0ffd07.zip
ASoC: codecs: rt1318: 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-4-krzysztof.kozlowski@linaro.org Signed-off-by: Mark Brown <broonie@kernel.org
Diffstat (limited to 'sound/soc/codecs/rt1318-sdw.h')
-rw-r--r--sound/soc/codecs/rt1318-sdw.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/rt1318-sdw.h b/sound/soc/codecs/rt1318-sdw.h
index 85918c184f16..86e83d63a017 100644
--- a/sound/soc/codecs/rt1318-sdw.h
+++ b/sound/soc/codecs/rt1318-sdw.h
@@ -88,7 +88,6 @@ struct rt1318_sdw_priv {
struct snd_soc_component *component;
struct regmap *regmap;
struct sdw_slave *sdw_slave;
- enum sdw_slave_status status;
struct sdw_bus_params params;
bool hw_init;
bool first_hw_init;