Commit 6afbdb57 authored by Felipe Balbi's avatar Felipe Balbi

usb: dwc3: gadget: one declaration per line

Misc cleanup. No functional changes.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@linux.intel.com>
parent e0c42ce5
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment