diff options
author | Takashi Iwai <tiwai@suse.de> | 2021-12-02 09:40:53 +0100 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2021-12-06 10:19:40 +0100 |
commit | 86a9bb5bf9f610ea6baa855b4f46ecea92876ea4 (patch) | |
tree | 367c57050c55c5a9f6a830c95326bedc6361f60f /sound/usb/mixer.h | |
parent | ALSA: oss: remove useless NULL check before kfree (diff) | |
download | linux-86a9bb5bf9f610ea6baa855b4f46ecea92876ea4.tar.xz linux-86a9bb5bf9f610ea6baa855b4f46ecea92876ea4.zip |
ALSA: usb-audio: Drop CONFIG_PM ifdefs
Practically seen, CONFIG_PM is almost mandatory.
Let's drop the ugly ifdef lines and simplify the code.
Link: https://lore.kernel.org/r/20211202084053.18201-1-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/mixer.h')
-rw-r--r-- | sound/usb/mixer.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/usb/mixer.h b/sound/usb/mixer.h index 98ea24d91d80..d43895c1ae5c 100644 --- a/sound/usb/mixer.h +++ b/sound/usb/mixer.h @@ -118,10 +118,8 @@ void snd_usb_mixer_elem_init_std(struct usb_mixer_elem_list *list, int snd_usb_mixer_vol_tlv(struct snd_kcontrol *kcontrol, int op_flag, unsigned int size, unsigned int __user *_tlv); -#ifdef CONFIG_PM int snd_usb_mixer_suspend(struct usb_mixer_interface *mixer); int snd_usb_mixer_resume(struct usb_mixer_interface *mixer); -#endif int snd_usb_set_cur_mix_value(struct usb_mixer_elem_info *cval, int channel, int index, int value); |