projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27a4663
)
usb: gadget: f_uac2: fix compile warning
author
Felipe Balbi
<balbi@ti.com>
Thu, 17 Jan 2013 13:43:32 +0000
(15:43 +0200)
committer
Felipe 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
patch
|
blob
|
history
diff --git
a/drivers/usb/gadget/f_uac2.c
b/drivers/usb/gadget/f_uac2.c
index 07fde0505e32433bea6264f7f8dfd8f0d3ca5e5a..c7468b6c07b0057041f63328da8cf075f6ada80b 100644
(file)
--- 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;