summaryrefslogtreecommitdiff
path: root/kernel/gcov/clang.c
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@infradead.org>2022-04-30 12:33:18 -0700
committerTakashi Iwai <tiwai@suse.de>2022-05-08 11:10:52 +0200
commitc3d9ca93f1e3bd3d1adfc4479a12c82fed424c87 (patch)
tree80a6fb62353b8d2b75525e7f56a496094114aa71 /kernel/gcov/clang.c
parentd7be213849232a2accb219d537edf056d29186b4 (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 <rdunlap@infradead.org> Reported-by: kernel test robot <lkp@intel.com> Link: https://lore.kernel.org/r/20220430193318.29024-1-rdunlap@infradead.org Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'kernel/gcov/clang.c')
0 files changed, 0 insertions, 0 deletions