usb: gadget: f_uac2: fix compile warning

this warning was introduced by previous patches,
fix it.

Reported-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
This commit is contained in:
Felipe Balbi 2013-01-17 15:43:32 +02:00
parent 27a4663397
commit a1ac29bd5d

View file

@ -260,7 +260,6 @@ static int
uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd) uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd)
{ {
struct snd_uac2_chip *uac2 = snd_pcm_substream_chip(substream); struct snd_uac2_chip *uac2 = snd_pcm_substream_chip(substream);
struct audio_dev *agdev = uac2_to_agdev(uac2);
struct uac2_rtd_params *prm; struct uac2_rtd_params *prm;
unsigned long flags; unsigned long flags;
int err = 0; int err = 0;