diff options
| author | Randy Dunlap <[email protected]> | 2022-04-30 19:33:18 +0000 |
|---|---|---|
| committer | Takashi Iwai <[email protected]> | 2022-05-08 09:10:52 +0000 |
| commit | c3d9ca93f1e3bd3d1adfc4479a12c82fed424c87 (patch) | |
| tree | 80a6fb62353b8d2b75525e7f56a496094114aa71 /lib/debugobjects.c | |
| parent | ALSA: usb-audio: Don't get sample rate for MCT Trigger 5 USB-to-HDMI (diff) | |
| download | kernel-c3d9ca93f1e3bd3d1adfc4479a12c82fed424c87.tar.gz kernel-c3d9ca93f1e3bd3d1adfc4479a12c82fed424c87.zip | |
ALSA: hda - fix unused Realtek function when PM is not enabled
When CONFIG_PM is not enabled, alc_shutup() is not needed,
so move it inside the #ifdef CONFIG_PM guard.
Also drop some contiguous #endif / #ifdef CONFIG_PM for simplicity.
Fixes this build warning:
sound/pci/hda/patch_realtek.c:886:20: warning: unused function 'alc_shutup'
Fixes: 08c189f2c552 ("ALSA: hda - Use generic parser codes for Realtek driver")
Signed-off-by: Randy Dunlap <[email protected]>
Reported-by: kernel test robot <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Takashi Iwai <[email protected]>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions
