diff options
| author | Greg Kroah-Hartman <[email protected]> | 2021-05-18 18:20:35 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 13:44:40 +0200 |
| commit | e3d59eff47b8cc385acae9d7fb1c787857023376 (patch) | |
| tree | 86f0ac02feab53be9ade2cc6b619f79256227162 /tools/perf/scripts/python/bin | |
| parent | 92c6dc0beb684e3421b61313c5e572cd9c93eab4 (diff) | |
USB: gadget: lpc32xx_udc: remove debugfs dentry variable
There is no need to store the dentry for a fixed filename that we have
the string for. So just have debugfs look it up when we need it to
remove the file, no need to store it anywhere locally.
Note, this driver is broken in that debugfs will not work for more than
one instance of the device it supports. But given that this patch does
not change that, and no one has ever seemed to notice, it must not be an
issue...
Cc: Felipe Balbi <[email protected]>
Cc: Vladimir Zapolskiy <[email protected]>
Cc: [email protected]
Acked-by: Vladimir Zapolskiy <[email protected]>
Acked-by: Felipe Balbi <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions