diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-03-12 21:22:41 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-18 16:50:50 +0300 |
commit | 02a70d7f26e7a3d87c9a5af39ca399b52a451a1a (patch) | |
tree | e28d2d07cc705aea53ecb63aec18c2e6049dcc4f /sound/soc/codecs/sti-sas.c | |
parent | 17d74e68e9765d9549acf1c36caa8b7559dc99ce (diff) | |
download | linux-02a70d7f26e7a3d87c9a5af39ca399b52a451a1a.tar.xz |
ASoC: sti-sas: remove unused struct members
cppcheck warnings:
sound/soc/codecs/sti-sas.c:54:25: style: struct member
'sti_dac_audio::field' is never used. [unusedStructMember]
struct regmap_field **field;
^
sound/soc/codecs/sti-sas.c:55:24: style: struct member
'sti_dac_audio::rst' is never used. [unusedStructMember]
struct reset_control *rst;
^
sound/soc/codecs/sti-sas.c:61:25: style: struct member
'sti_spdif_audio::field' is never used. [unusedStructMember]
struct regmap_field **field;
^
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Link: https://lore.kernel.org/r/20210312182246.5153-19-pierre-louis.bossart@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/sti-sas.c')
-rw-r--r-- | sound/soc/codecs/sti-sas.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/sound/soc/codecs/sti-sas.c b/sound/soc/codecs/sti-sas.c index ec9933b054ad..ffdf7e559515 100644 --- a/sound/soc/codecs/sti-sas.c +++ b/sound/soc/codecs/sti-sas.c @@ -51,14 +51,11 @@ static const struct reg_default stih407_sas_reg_defaults[] = { struct sti_dac_audio { struct regmap *regmap; struct regmap *virt_regmap; - struct regmap_field **field; - struct reset_control *rst; int mclk; }; struct sti_spdif_audio { struct regmap *regmap; - struct regmap_field **field; int mclk; }; |