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:
e0c42ce
)
usb: dwc3: gadget: one declaration per line
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 6 Apr 2018 12:49:49 +0000
(15:49 +0300)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 21 May 2018 07:00:56 +0000
(10:00 +0300)
Misc cleanup. No functional changes.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 53fce66ee8fcc0765a62f9d285d5f84bf3aaf361..e230b0a2a2f3900c20f3b5d4db375c276e7382f3 100644
(file)
--- 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;