Browse Source

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>
Felipe Balbi 12 years ago
parent
commit
a1ac29bd5d
1 changed files with 0 additions and 1 deletions
  1. 0 1
      drivers/usb/gadget/f_uac2.c

+ 0 - 1
drivers/usb/gadget/f_uac2.c

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