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:
07b8dc5
)
usb: dwc3: ep0: remove redundant assignment
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 18 Mar 2018 14:47:40 +0000
(15:47 +0100)
committer
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 19 Mar 2018 08:52:12 +0000
(10:52 +0200)
In
dwc3_request *r = NULL;
r = A;
the first assignment has no effect. Remove it.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/ep0.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/ep0.c
b/drivers/usb/dwc3/ep0.c
index 18be31d5743a1e64528c1567612f26be95106878..5a991bca8ed76236b80989e196c59618c5277bc1 100644
(file)
--- a/
drivers/usb/dwc3/ep0.c
+++ b/
drivers/usb/dwc3/ep0.c
@@
-814,7
+814,7
@@
out:
static void dwc3_ep0_complete_data(struct dwc3 *dwc,
const struct dwc3_event_depevt *event)
{
- struct dwc3_request *r
= NULL
;
+ struct dwc3_request *r;
struct usb_request *ur;
struct dwc3_trb *trb;
struct dwc3_ep *ep0;