From: Felipe Balbi Date: Thu, 17 Jan 2013 13:43:32 +0000 (+0200) Subject: usb: gadget: f_uac2: fix compile warning X-Git-Tag: v3.9-rc1~126^2~43^2~19 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a1ac29bd5d56c366e2fbefd7f9f8026e6808e4a8;p=platform%2Fkernel%2Flinux-3.10.git usb: gadget: f_uac2: fix compile warning this warning was introduced by previous patches, fix it. Reported-by: Fengguang Wu Signed-off-by: Felipe Balbi --- diff --git a/drivers/usb/gadget/f_uac2.c b/drivers/usb/gadget/f_uac2.c index 07fde05..c7468b6 100644 --- a/drivers/usb/gadget/f_uac2.c +++ b/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;