Skip to contentSkip to conversation

ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()

PATCH Applied Jiapeng Chong 2 participants 2 messages Dec 13, 2022 – Dec 22, 2022 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()

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'.

---
 sound/pci/azt3328.c | 9 ---------
 1 file changed, 9 deletions(-)
sound/pci/azt3328.c +0 -9
index 7f329dfc5404..0c6754bf9455 100644
@@ -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
Signature · 1 line
2.20.1.7.g153144c