diff options
author | Felipe Balbi <balbi@ti.com> | 2013-01-17 08:43:32 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-21 13:52:49 -0500 |
commit | a1ac29bd5d56c366e2fbefd7f9f8026e6808e4a8 (patch) | |
tree | 6c0fed15b0db91b2913e45fb996526d6d335dee7 | |
parent | 27a4663397302976869571ae7e175fc90ec22017 (diff) |
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>
-rw-r--r-- | drivers/usb/gadget/f_uac2.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/gadget/f_uac2.c b/drivers/usb/gadget/f_uac2.c index 07fde0505e32..c7468b6c07b0 100644 --- a/drivers/usb/gadget/f_uac2.c +++ b/drivers/usb/gadget/f_uac2.c | |||
@@ -260,7 +260,6 @@ static int | |||
260 | uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd) | 260 | uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd) |
261 | { | 261 | { |
262 | struct snd_uac2_chip *uac2 = snd_pcm_substream_chip(substream); | 262 | struct snd_uac2_chip *uac2 = snd_pcm_substream_chip(substream); |
263 | struct audio_dev *agdev = uac2_to_agdev(uac2); | ||
264 | struct uac2_rtd_params *prm; | 263 | struct uac2_rtd_params *prm; |
265 | unsigned long flags; | 264 | unsigned long flags; |
266 | int err = 0; | 265 | int err = 0; |