diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-07-27 05:16:32 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-07-27 22:32:15 +0300 |
commit | 8f59c7ed230784ca914c98e250c65768b71d5de4 (patch) | |
tree | 04f6acbbdec2b2816bc3db6904727c93653fa9c6 /sound/soc/codecs/rt1017-sdca-sdw.h | |
parent | 5befe22b3eebd07b334b2917f6d14ce7ee4c8404 (diff) | |
download | linux-8f59c7ed230784ca914c98e250c65768b71d5de4.tar.xz |
ASoC: rt1017: Remove unused function
The function are defined in the rt1017-sdca-sdw.h file, but not called
elsewhere, so delete the unused functions.
sound/soc/codecs/rt1017-sdca-sdw.h:183:33: warning: ‘rt1017_sdca_mbq_defaults’ defined but not used.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=5998
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Link: https://lore.kernel.org/r/20230727021632.88912-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/rt1017-sdca-sdw.h')
-rw-r--r-- | sound/soc/codecs/rt1017-sdca-sdw.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/sound/soc/codecs/rt1017-sdca-sdw.h b/sound/soc/codecs/rt1017-sdca-sdw.h index 5968b9a7d124..4932b5dbe3c0 100644 --- a/sound/soc/codecs/rt1017-sdca-sdw.h +++ b/sound/soc/codecs/rt1017-sdca-sdw.h @@ -180,9 +180,4 @@ static const struct reg_default rt1017_sdca_reg_defaults[] = { RT1017_SDCA_CTL_REQ_POWER_STATE, 0), 0x03 }, }; -static const struct reg_default rt1017_sdca_mbq_defaults[] = { - { SDW_SDCA_CTL(FUNC_NUM_SMART_AMP, RT1017_SDCA_ENT_FU, - RT1017_SDCA_CTL_FU_VOLUME, 0x01), 0x00 }, -}; - #endif /* __RT1017_SDW_H__ */ |