18 Aug
2021
18 Aug
'21
7:51 a.m.
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@kernel.org
Thanks, applied.
Takashi