diff mbox series

[3/7] ASoC: mt8365: Remove unused prototype for mt8365_afe_clk_group_48k()

Message ID 20240907-asoc-fix-mt8365-build-v1-3-7ad0bac20161@kernel.org (mailing list archive)
State New
Headers show
Series ASoC: mt8365: Fix -Werror builds | expand

Commit Message

Mark Brown Sept. 7, 2024, 12:53 a.m. UTC
The function is not used outside of the file it is defined and the
equivalent function for 44.1kHz is not prototyped so remove the prototype
for this function.

Signed-off-by: Mark Brown <broonie@kernel.org>
---
 sound/soc/mediatek/mt8365/mt8365-afe-common.h | 1 -
 1 file changed, 1 deletion(-)

Comments

AngeloGioacchino Del Regno Sept. 9, 2024, 11:50 a.m. UTC | #1
Il 07/09/24 02:53, Mark Brown ha scritto:
> The function is not used outside of the file it is defined and the
> equivalent function for 44.1kHz is not prototyped so remove the prototype
> for this function.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Alexandre Mergnat Sept. 9, 2024, 12:51 p.m. UTC | #2
Reviewed-by: Alexandre Mergnat <amergnat@baylibre.com>

On 07/09/2024 02:53, Mark Brown wrote:
> The function is not used outside of the file it is defined and the
> equivalent function for 44.1kHz is not prototyped so remove the prototype
> for this function.
> 
> Signed-off-by: Mark Brown <broonie@kernel.org>
> ---
>   sound/soc/mediatek/mt8365/mt8365-afe-common.h | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-common.h b/sound/soc/mediatek/mt8365/mt8365-afe-common.h
> index 1fa87e54a57f..731406e15ac7 100644
> --- a/sound/soc/mediatek/mt8365/mt8365-afe-common.h
> +++ b/sound/soc/mediatek/mt8365/mt8365-afe-common.h
> @@ -421,7 +421,6 @@ static inline u32 AutoRstThLo(unsigned int fs)
>   	}
>   }
>   
> -bool mt8365_afe_clk_group_48k(int sample_rate);
>   bool mt8365_afe_rate_supported(unsigned int rate, unsigned int id);
>   bool mt8365_afe_channel_supported(unsigned int channel, unsigned int id);
>   
>
diff mbox series

Patch

diff --git a/sound/soc/mediatek/mt8365/mt8365-afe-common.h b/sound/soc/mediatek/mt8365/mt8365-afe-common.h
index 1fa87e54a57f..731406e15ac7 100644
--- a/sound/soc/mediatek/mt8365/mt8365-afe-common.h
+++ b/sound/soc/mediatek/mt8365/mt8365-afe-common.h
@@ -421,7 +421,6 @@  static inline u32 AutoRstThLo(unsigned int fs)
 	}
 }
 
-bool mt8365_afe_clk_group_48k(int sample_rate);
 bool mt8365_afe_rate_supported(unsigned int rate, unsigned int id);
 bool mt8365_afe_channel_supported(unsigned int channel, unsigned int id);