diff options
author | Randy Dunlap <[email protected]> | 2022-04-30 12:33:18 -0700 |
---|---|---|
committer | Takashi Iwai <[email protected]> | 2022-05-08 11:10:52 +0200 |
commit | c3d9ca93f1e3bd3d1adfc4479a12c82fed424c87 (patch) | |
tree | 80a6fb62353b8d2b75525e7f56a496094114aa71 /lib/test_fortify/write_overflow-strlcpy-src.c | |
parent | d7be213849232a2accb219d537edf056d29186b4 (diff) |
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/test_fortify/write_overflow-strlcpy-src.c')
0 files changed, 0 insertions, 0 deletions