Commit 93721039 authored by Eldad Zack's avatar Eldad Zack Committed by Takashi Iwai

ALSA: usb-audio: remove unused parameter from sync_ep_set_params

Since the format is not actually used in sync_ep_set_params(),
there is no need to pass it down.
Signed-off-by: default avatarEldad Zack <eldad@fogrefinery.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent d2724de1
...@@ -714,8 +714,7 @@ static int data_ep_set_params(struct snd_usb_endpoint *ep, ...@@ -714,8 +714,7 @@ static int data_ep_set_params(struct snd_usb_endpoint *ep,
/* /*
* configure a sync endpoint * configure a sync endpoint
*/ */
static int sync_ep_set_params(struct snd_usb_endpoint *ep, static int sync_ep_set_params(struct snd_usb_endpoint *ep)
struct audioformat *fmt)
{ {
int i; int i;
...@@ -812,7 +811,7 @@ int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep, ...@@ -812,7 +811,7 @@ int snd_usb_endpoint_set_params(struct snd_usb_endpoint *ep,
buffer_periods, fmt, sync_ep); buffer_periods, fmt, sync_ep);
break; break;
case SND_USB_ENDPOINT_TYPE_SYNC: case SND_USB_ENDPOINT_TYPE_SYNC:
err = sync_ep_set_params(ep, fmt); err = sync_ep_set_params(ep);
break; break;
default: default:
err = -EINVAL; err = -EINVAL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment