Message ID | 20200208161802.28846-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | Mainlined |
Commit | e6c597a643a673e58b06b49b91b4261fcded5d94 |
Headers | show |
Series | usb: cdns3: remove redundant assignment to pointer trb | expand |
diff --git a/drivers/usb/cdns3/gadget.c b/drivers/usb/cdns3/gadget.c index 736b0c6e27fe..3c05080a9ad5 100644 --- a/drivers/usb/cdns3/gadget.c +++ b/drivers/usb/cdns3/gadget.c @@ -1380,7 +1380,7 @@ static bool cdns3_request_handled(struct cdns3_endpoint *priv_ep, struct cdns3_request *priv_req) { struct cdns3_device *priv_dev = priv_ep->cdns3_dev; - struct cdns3_trb *trb = priv_req->trb; + struct cdns3_trb *trb; int current_index = 0; int handled = 0; int doorbell;