Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Jiapeng Chong and committed by
Takashi Iwai
a95e163a 2d78eb03

-9
-9
sound/pci/azt3328.c
··· 364 364 } 365 365 366 366 static inline void 367 - snd_azf3328_codec_outl(const struct snd_azf3328_codec_data *codec, 368 - unsigned reg, 369 - u32 value 370 - ) 371 - { 372 - outl(value, codec->io_base + reg); 373 - } 374 - 375 - static inline void 376 367 snd_azf3328_codec_outl_multi(const struct snd_azf3328_codec_data *codec, 377 368 unsigned reg, const void *buffer, int count 378 369 )