diff options
author | Rafael J. Wysocki <[email protected]> | 2021-05-14 14:11:19 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2021-05-21 22:12:14 +0200 |
commit | 0c8713153fbf7ba4e45172e139d501c86006dc03 (patch) | |
tree | 032ce94f721d64368749cf915014652eac66fc4b /scripts/gdb/linux/cpus.py | |
parent | 80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f (diff) |
drivers: base: Reduce device link removal code duplication
Reduce device link removal code duplication between the cases when
SRCU is enabled and when it is disabled by moving the only differing
piece of it (which is the removal of the link from the consumer and
supplier lists) into a separate wrapper function (defined differently
for each of the cases in question).
No intentional functional impact.
Reviewed-by: Saravana Kannan <[email protected]>
Signed-off-by: Rafael J. Wysocki <[email protected]>
Link: https://lore.kernel.org/r/4326215.LvFx2qVVIh@kreacher
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/cpus.py')
0 files changed, 0 insertions, 0 deletions