]> git.baikalelectronics.ru Git - kernel.git/commit
USB: core: no need to save usb_devices_root
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Feb 2021 10:14:32 +0000 (11:14 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 10 Mar 2021 08:37:15 +0000 (09:37 +0100)
commit7b76ca326a46e83dbcfc25cffb567d83fd22f8f4
treea13baad7d4ba144f89fef123412064a14a8132ef
parent3569e77de49f6ccac05bfca7273f53baa55872d6
USB: core: no need to save usb_devices_root

There is no need to save the usb_devices debugfs file as we only need it
when removing it, so have the debugfs code look it up when it is needed
instead, saving the storage.

Link: https://lore.kernel.org/r/YCubCA/trHAF7PtF@kroah.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/usb.c