ALSA: hda/sigmatel - Sink stac_shutup() into stac_suspend()
authorNathan Chancellor <nathan@kernel.org>
Wed, 18 Aug 2021 01:27:04 +0000 (18:27 -0700)
committerTakashi Iwai <tiwai@suse.de>
Wed, 18 Aug 2021 05:51:02 +0000 (07:51 +0200)
commitf8b32a6daf35f54f6260df7446e4069af64f0fcc
tree5cf4a30747a230a5005d1c1588ea1cc667495348
parent8fc8e903156f42c66245838441d03607e9067381
ALSA: hda/sigmatel - Sink stac_shutup() into stac_suspend()

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>
Link: https://lore.kernel.org/r/20210818012705.311963-1-nathan@kernel.org
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_sigmatel.c