usb: gadget: f_uac2: fix compile warning
authorFelipe Balbi <balbi@ti.com>
Thu, 17 Jan 2013 13:43:32 +0000 (15:43 +0200)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Jan 2013 18:52:49 +0000 (20:52 +0200)
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>
drivers/usb/gadget/f_uac2.c

index 07fde0505e32433bea6264f7f8dfd8f0d3ca5e5a..c7468b6c07b0057041f63328da8cf075f6ada80b 100644 (file)
@@ -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;