]> Git Repo - linux.git/commitdiff
ALSA: azt3328: Remove the unused function snd_azf3328_codec_outl()
authorJiapeng Chong <[email protected]>
Tue, 13 Dec 2022 06:13:55 +0000 (14:13 +0800)
committerTakashi Iwai <[email protected]>
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 <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
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
This page took 0.05341 seconds and 4 git commands to generate.