usb: gadget: uvc: Simplify uvcg_video_pump by using local variable
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 16 Sep 2014 14:26:48 +0000 (17:26 +0300)
committerFelipe Balbi <balbi@ti.com>
Tue, 16 Sep 2014 14:59:54 +0000 (09:59 -0500)
commit6dd5b021bd6c735a6a1515d06dab1478fc461dfd
treeffbe8ccd42feeaad54ca08e252d4e12d74572933
parente102609f107269fbc04af21548e78e99c02b6204
usb: gadget: uvc: Simplify uvcg_video_pump by using local variable

Use the local queue variable instead of computing it every time.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/function/uvc_video.c