Skip to content

Commit

Permalink
usb: dwc3: gadget: one declaration per line
Browse files Browse the repository at this point in the history
Misc cleanup. No functional changes.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
  • Loading branch information
Felipe Balbi committed May 21, 2018
1 parent e0c42ce commit 6afbdb5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions drivers/usb/dwc3/gadget.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6afbdb5

Please sign in to comment.