Skip to contentSkip to conversation

usb: dwc2: Remove duplicate struct declaration

PATCH New Wan Jiabing 1 participant 1 message Mar 30, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 usb: dwc2: Remove duplicate struct declaration

struct dwc2_hsotg is declared twice. One has been declared at forward declaration. Remove the duplicate one.

---
 drivers/usb/dwc2/core.h | 1 -
 1 file changed, 1 deletion(-)
drivers/usb/dwc2/core.h +0 -1
index 7161344c6522..8407bba523ce 100644
@@ -210,7 +210,6 @@ do { \
 #define call_gadget(_hs, _entry)	do {} while (0)
 #endif
 
-struct dwc2_hsotg;
 struct dwc2_host_chan;
 
 /* Device States */
Signature · 1 line
2.25.1