public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()
@ 2022-12-13  6:13 Jiapeng Chong
  2022-12-22  8:12 ` Takashi Iwai
  0 siblings, 1 reply; 2+ messages in thread
From: Jiapeng Chong @ 2022-12-13  6:13 UTC (permalink / raw)
  To: perex; +Cc: tiwai, alsa-devel, linux-kernel, Jiapeng Chong, Abaci Robot

The function snd_azf3328_codec_outl is defined in the azt3328.c file, but
not called elsewhere, so remove this unused function.

sound/pci/azt3328.c:367:1: warning: unused function 'snd_azf3328_codec_outl'.

Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3432
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
---
 sound/pci/azt3328.c | 9 ---------
 1 file changed, 9 deletions(-)

diff --git a/sound/pci/azt3328.c b/sound/pci/azt3328.c
index 7f329dfc5404..0c6754bf9455 100644
--- a/sound/pci/azt3328.c
+++ b/sound/pci/azt3328.c
@@ -363,15 +363,6 @@ snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigned reg)
 	return inw(codec->io_base + reg);
 }
 
-static inline void
-snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec,
-		       unsigned reg,
-		       u32 value
-)
-{
-	outl(value, codec->io_base + reg);
-}
-
 static inline void
 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec,
 			     unsigned reg, const void *buffer, int count
-- 
2.20.1.7.g153144c


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()
  2022-12-13  6:13 [PATCH] ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl() Jiapeng Chong
@ 2022-12-22  8:12 ` Takashi Iwai
  0 siblings, 0 replies; 2+ messages in thread
From: Takashi Iwai @ 2022-12-22  8:12 UTC (permalink / raw)
  To: Jiapeng Chong; +Cc: perex, tiwai, alsa-devel, linux-kernel, Abaci Robot

On Tue, 13 Dec 2022 07:13:55 +0100,
Jiapeng Chong wrote:
> 
> The function snd_azf3328_codec_outl is defined in the azt3328.c file, but
> not called elsewhere, so remove this unused function.
> 
> sound/pci/azt3328.c:367:1: warning: unused function 'snd_azf3328_codec_outl'.
> 
> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3432
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>

Thanks, applied now.


Takashi

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-12-22  8:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-13  6:13 [PATCH] ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl() Jiapeng Chong
2022-12-22  8:12 ` Takashi Iwai

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox