diff options
| author | Dongliang Mu <[email protected]> | 2022-10-09 15:23:05 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-10-22 13:21:40 +0200 |
| commit | 90732f1769165dcf0778d723ad188f6441a930f5 (patch) | |
| tree | 526dd1181d9b64c127fb6070f2b6e44d489672a8 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | 27ef01e381c777521084724248c5736cd1cdda63 (diff) | |
usb: cdns3: adjust the partial logic of cdnsp_pci_remove
In cdnsp_pci_remove, if pci_is_enabled returns true, it will
call cdns_remove; else it will call kfree. Then both control flow
goes to pci_dev_put.
Adjust this logic by modifying it to an if else.
Signed-off-by: Dongliang Mu <[email protected]>
Acked-by: Pawel Laszczak <[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/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions