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_quirks.c | |
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_quirks.c')
-rw-r--r-- | sound/usb/mixer_quirks.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sound/usb/mixer_quirks.c b/sound/usb/mixer_quirks.c index db194ad168d0..1f9863725c7c 100644 --- a/sound/usb/mixer_quirks.c +++ b/sound/usb/mixer_quirks.c @@ -3280,7 +3280,6 @@ int snd_usb_mixer_apply_create_quirk(struct usb_mixer_interface *mixer) return err; } -#ifdef CONFIG_PM void snd_usb_mixer_resume_quirk(struct usb_mixer_interface *mixer) { switch (mixer->chip->usb_id) { @@ -3289,7 +3288,6 @@ void snd_usb_mixer_resume_quirk(struct usb_mixer_interface *mixer) break; } } -#endif void snd_usb_mixer_rc_memory_change(struct usb_mixer_interface *mixer, int unitid) |