summaryrefslogtreecommitdiff
path: root/sound/usb/pcm.h
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2020-11-23 11:53:26 +0300
committerTakashi Iwai <tiwai@suse.de>2020-11-23 17:14:27 +0300
commit73037c8dc1c8cf994a38fedba4a5af7e6da5e4f1 (patch)
tree8b8666cf31004ba0df6c7a08cecab12904fed983 /sound/usb/pcm.h
parent953a446b50fd6c68f0a40f0cd79a2a903faf3243 (diff)
downloadlinux-73037c8dc1c8cf994a38fedba4a5af7e6da5e4f1.tar.xz
ALSA: usb-audio: Simplify snd_usb_init_pitch() arguments
A preliminary change for the later big changes. This is a minor code refactoring to drop the unnecessary arguments that can be retrieved in a different way. Tested-by: Keith Milner <kamilner@superlative.org> Tested-by: Dylan Robinson <dylan_robinson@motu.com> Link: https://lore.kernel.org/r/20201123085347.19667-21-tiwai@suse.de Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/usb/pcm.h')
-rw-r--r--sound/usb/pcm.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/usb/pcm.h b/sound/usb/pcm.h
index 362782c2df5c..a4f784225abc 100644
--- a/sound/usb/pcm.h
+++ b/sound/usb/pcm.h
@@ -9,8 +9,7 @@ void snd_usb_set_pcm_ops(struct snd_pcm *pcm, int stream);
int snd_usb_pcm_suspend(struct snd_usb_stream *as);
int snd_usb_pcm_resume(struct snd_usb_stream *as);
-int snd_usb_init_pitch(struct snd_usb_audio *chip, int iface,
- struct usb_host_interface *alts,
+int snd_usb_init_pitch(struct snd_usb_audio *chip,
struct audioformat *fmt);
void snd_usb_preallocate_buffer(struct snd_usb_substream *subs);