Misc cleanup. No functional changes.
Signed-off-by: Felipe Balbi <[email protected]>
---
drivers/usb/dwc3/gadget.c | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c
index 763304194ca4..99962de67715 100644
--- a/drivers/usb/dwc3/gadget.c
+++ b/drivers/usb/dwc3/gadget.c
@@ -2286,10 +2286,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;
--
2.16.1
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html