[PATCH 1/2] ALSA: hda/sigmatel - Sink stac_shutup() into stac_suspend()
Takashi Iwai
tiwai at suse.de
Wed Aug 18 07:51:40 CEST 2021
On Wed, 18 Aug 2021 03:27:04 +0200,
Nathan Chancellor wrote:
>
> When CONFIG_PM is not set, there is an unused function warning:
>
> sound/pci/hda/patch_sigmatel.c:4383:13: warning: unused function
> 'stac_shutup' [-Wunused-function]
> static void stac_shutup(struct hda_codec *codec)
> ^
> 1 warning generated.
>
> Sink the contents of stac_shutup() into stac_suspend() since
> stac_shutup() is only called in that one location now.
>
> Fixes: 327b34f2a97d ("ALSA: hda: Nuke unused reboot_notify callback")
> Signed-off-by: Nathan Chancellor <nathan at kernel.org>
Thanks, applied.
Takashi
More information about the Alsa-devel
mailing list