Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Jiapeng Chong and committed by
Mark Brown
8f59c7ed 5befe22b

-5
-5
sound/soc/codecs/rt1017-sdca-sdw.h
··· 180 180 RT1017_SDCA_CTL_REQ_POWER_STATE, 0), 0x03 }, 181 181 }; 182 182 183 - static const struct reg_default rt1017_sdca_mbq_defaults[] = { 184 - { SDW_SDCA_CTL(FUNC_NUM_SMART_AMP, RT1017_SDCA_ENT_FU, 185 - RT1017_SDCA_CTL_FU_VOLUME, 0x01), 0x00 }, 186 - }; 187 - 188 183 #endif /* __RT1017_SDW_H__ */