Hi, On Thu, Jan 17, 2013 at 08:46:06PM +0800, kbuild test robot wrote: > tree: git://git.kernel.org/pub/scm/linux/kernel/git/balbi/usb.git gadget > head: a95bf2624aecc790d8803995818038bb89a99e6c > commit: b642435333b23ab01d526bd854d118704434fc88 [4/59] usb: gadget: remove unused variable in uac2_pcm_trigger() > config: i386-randconfig-m024 (attached as .config) > > All warnings: > > In file included from drivers/usb/gadget/audio.c:48:0: > drivers/usb/gadget/f_uac2.c: In function 'uac2_pcm_trigger': > >> drivers/usb/gadget/f_uac2.c:263:20: warning: unused variable 'agdev' [-Wunused-variable] > > vim +/agdev +263 drivers/usb/gadget/f_uac2.c > > 247 /* Pack USB load in ALSA ring buffer */ > 248 memcpy(dst, src, req->actual); > 249 exit: > 250 if (usb_ep_queue(ep, req, GFP_ATOMIC)) > 251 dev_err(&uac2->pdev.dev, "%d Error!\n", __LINE__); > 252 > 253 if (update_alsa) > 254 snd_pcm_period_elapsed(substream); > 255 > 256 return; > 257 } > 258 > 259 static int > 260 uac2_pcm_trigger(struct snd_pcm_substream *substream, int cmd) > 261 { > 262 struct snd_uac2_chip *uac2 = snd_pcm_substream_chip(substream); > > 263 struct audio_dev *agdev = uac2_to_agdev(uac2); thank you, I will fix this myself. -- balbi
Attachment:
signature.asc
Description: Digital signature