diff options
| author | 2018-04-06 15:49:49 +0300 | |
|---|---|---|
| committer | 2018-05-21 10:00:56 +0300 | |
| commit | 6afbdb57732bc9617078e9a566eafa5f542a5c28 (patch) | |
| tree | fdcca72f10260af7b6cc0ef58e3b16424d85a8e9 | |
| parent | usb: dwc3: gadget: simplify IOC handling (diff) | |
usb: dwc3: gadget: one declaration per line
Misc cleanup. No functional changes.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
| -rw-r--r-- | drivers/usb/dwc3/gadget.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 53fce66ee8fc..e230b0a2a2f3 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -2311,10 +2311,11 @@ static bool dwc3_gadget_ep_request_completed(struct dwc3_request *req) static void dwc3_gadget_ep_cleanup_completed_requests(struct dwc3_ep *dep, const struct dwc3_event_depevt *event, int status) { - struct dwc3_request *req, *n; + struct dwc3_request *req; + struct dwc3_request *tmp; int ret = 0; - list_for_each_entry_safe(req, n, &dep->started_list, list) { + list_for_each_entry_safe(req, tmp, &dep->started_list, list) { unsigned length; length = req->request.length; |
