* [PATCH] ASoC: rt1017: Remove unused function
@ 2023-07-27 2:16 Jiapeng Chong
2023-07-27 22:52 ` Mark Brown
0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2023-07-27 2:16 UTC (permalink / raw)
To: oder_chiou
Cc: lgirdwood, broonie, perex, tiwai, alsa-devel, linux-kernel,
Jiapeng Chong, Abaci Robot
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>
---
sound/soc/codecs/rt1017-sdca-sdw.h | 5 -----
1 file changed, 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__ */
--
2.20.1.7.g153144c
^ permalink raw reply [flat|nested] 2+ messages in thread* Re: [PATCH] ASoC: rt1017: Remove unused function
2023-07-27 2:16 [PATCH] ASoC: rt1017: Remove unused function Jiapeng Chong
@ 2023-07-27 22:52 ` Mark Brown
0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2023-07-27 22:52 UTC (permalink / raw)
To: oder_chiou, Jiapeng Chong
Cc: lgirdwood, perex, tiwai, alsa-devel, linux-kernel, Abaci Robot
On Thu, 27 Jul 2023 10:16:32 +0800, Jiapeng Chong wrote:
> 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.
>
>
Applied to
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next
Thanks!
[1/1] ASoC: rt1017: Remove unused function
commit: 8f59c7ed230784ca914c98e250c65768b71d5de4
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-07-27 22:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-27 2:16 [PATCH] ASoC: rt1017: Remove unused function Jiapeng Chong
2023-07-27 22:52 ` Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®