Skip to contentSkip to conversation

ASoC: meson: Remove unused declartion in header file

PATCH In review Zhang Zekun 3 participants 3 messages Sep 10, 2024

Subsystems (4)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ASoC: meson: Remove unused declartion in header file

The declaration of aiu_fifo_hw_free() has been removed since commit e05cde84eabc ("ASoC: meson: Use managed DMA buffer allocation"). Let's remove the unused declaration.

---
 sound/soc/meson/aiu-fifo.h | 2 --
 1 file changed, 2 deletions(-)
sound/soc/meson/aiu-fifo.h +0 -2
index 84ab4577815a..b02cfcc4de7f 100644
@@ -38,8 +38,6 @@ int aiu_fifo_prepare(struct snd_pcm_substream *substream,
 int aiu_fifo_hw_params(struct snd_pcm_substream *substream,
 		       struct snd_pcm_hw_params *params,
 		       struct snd_soc_dai *dai);
-int aiu_fifo_hw_free(struct snd_pcm_substream *substream,
-		     struct snd_soc_dai *dai);
 int aiu_fifo_startup(struct snd_pcm_substream *substream,
 		     struct snd_soc_dai *dai);
 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
Signature · 1 line
2.17.1
maintainer Reviewed-by on v1 1/1
#1 lore raw
Quoted 2 lines · Zhang Zekun

The declaration of aiu_fifo_hw_free() has been removed since commit e05cde84eabc ("ASoC: meson: Use managed DMA buffer allocation").

Missing the fixes tag then:

Fixes e05cde84eabc ("ASoC: meson: Use managed DMA buffer allocation")
Quoted 1 line

Let's remove the unused declaration.

With the tag

Quoted 19 lines
---
 sound/soc/meson/aiu-fifo.h | 2 --
 1 file changed, 2 deletions(-)
sound/soc/meson/aiu-fifo.h +0 -2
index 84ab4577815a..b02cfcc4de7f 100644
@@ -38,8 +38,6 @@ int aiu_fifo_prepare(struct snd_pcm_substream *substream,
 int aiu_fifo_hw_params(struct snd_pcm_substream *substream,
 		       struct snd_pcm_hw_params *params,
 		       struct snd_soc_dai *dai);
-int aiu_fifo_hw_free(struct snd_pcm_substream *substream,
-		     struct snd_soc_dai *dai);
 int aiu_fifo_startup(struct snd_pcm_substream *substream,
 		     struct snd_soc_dai *dai);
 void aiu_fifo_shutdown(struct snd_pcm_substream *substream,
Signature · 1 line
Jerome
maintainer
#2 lore raw
In reply to Zhang Zekun
Quoted 5 lines · Zhang Zekun

The declaration of aiu_fifo_hw_free() has been removed since commit e05cde84eabc ("ASoC: meson: Use managed DMA buffer allocation"). Let's remove the unused declaration.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/1] ASoC: meson: Remove unused declartion in header file

      commit: afe671ac3e9309e55d556d066250bd37d9c47d1a

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