lkml.org 
[lkml]   [2021]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH] usb: dwc2: Remove duplicate struct declaration
Date
struct dwc2_hsotg is declared twice. One has been declared
at forward declaration. Remove the duplicate one.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
drivers/usb/dwc2/core.h | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/usb/dwc2/core.h b/drivers/usb/dwc2/core.h
index 7161344c6522..8407bba523ce 100644
--- a/drivers/usb/dwc2/core.h
+++ b/drivers/usb/dwc2/core.h
@@ -210,7 +210,6 @@ do { \
#define call_gadget(_hs, _entry) do {} while (0)
#endif

-struct dwc2_hsotg;
struct dwc2_host_chan;

/* Device States */
--
2.25.1
\
 
 \ /
  Last update: 2021-03-30 08:22    [W:0.020 / U:0.072 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site