summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>2022-12-13 14:13:55 +0800
committerTakashi Iwai <tiwai@suse.de>2022-12-22 09:12:26 +0100
commita95e163a4bfa7780f64e589bbedc6bdeb7cf3839 (patch)
treee468abbc3ec4cd7cb17c4679dba053f1290b1a35 /sound
parent2d78eb0342dd2c9c5cde9ae9ada1d33f189a858b (diff)
downloadlinux-stable-a95e163a4bfa7780f64e589bbedc6bdeb7cf3839.tar.gz
linux-stable-a95e163a4bfa7780f64e589bbedc6bdeb7cf3839.tar.bz2
linux-stable-a95e163a4bfa7780f64e589bbedc6bdeb7cf3839.zip
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'. 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>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/azt3328.c9
1 files changed, 0 insertions, 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
@@ -364,15 +364,6 @@ snd_azf3328_codec_inw(const struct snd_azf3328_codec_data *codec, unsigned 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
)