From: Quanyang Wang <[email protected]>

Since mainline commit 8d396bb0a5b6 ("usb: dwc3: debugfs: Add and remove
endpoint dirs dynamically") drops dwc3_debugfs_create_endpoint_dirs(),
let's delete it in dwc3_debugfs_init either.

Signed-off-by: Quanyang Wang <[email protected]>
---
 drivers/usb/dwc3/debugfs.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/usb/dwc3/debugfs.c b/drivers/usb/dwc3/debugfs.c
index e9f9494368862..5d1b4fa1e98b8 100644
--- a/drivers/usb/dwc3/debugfs.c
+++ b/drivers/usb/dwc3/debugfs.c
@@ -983,8 +983,6 @@ void dwc3_debugfs_init(struct dwc3 *dwc)
                                    &dwc3_link_state_fops);
                debugfs_create_file("hiber_enable", S_IRUGO | S_IWUSR, root,
                                    dwc, &dwc3_hiber_enable_fops);
-
-               dwc3_debugfs_create_endpoint_dirs(dwc, root);
        }
 }
 
-- 
2.25.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#10008): 
https://lists.yoctoproject.org/g/linux-yocto/message/10008
Mute This Topic: https://lists.yoctoproject.org/mt/83838758/21656
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/linux-yocto/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to