ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 13 Dec 2022 06:13:55 +0000 (14:13 +0800)
committerTakashi Iwai <tiwai@suse.de>
Thu, 22 Dec 2022 08:12:26 +0000 (09:12 +0100)
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>
Link: https://lore.kernel.org/r/20221213061355.62856-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/azt3328.c

index 7f329dfc5404a7089caad847e60cf398048a3097..0c6754bf94554bcb5b2ac3873848051d9098bc8f 100644 (file)
@@ -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