]> asedeno.scripts.mit.edu Git - linux.git/commit
usb: dwc3: gadget: reduce scope of ret variable
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Fri, 6 Apr 2018 12:50:29 +0000 (15:50 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:57 +0000 (10:00 +0300)
commitfee73e6144d8a0399d17f9ca3b7e5121057eab2d
treecb15009b0dc03cbcfe92b14dd007e5105871c530
parent6afbdb57732bc9617078e9a566eafa5f542a5c28
usb: dwc3: gadget: reduce scope of ret variable

We can declare it inside list_for_each_entry_safe() loop and reduce
its scope.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c