summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2021-05-14 15:11:19 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-05-21 23:12:14 +0300
commit0c8713153fbf7ba4e45172e139d501c86006dc03 (patch)
tree032ce94f721d64368749cf915014652eac66fc4b /include
parent80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f (diff)
downloadlinux-0c8713153fbf7ba4e45172e139d501c86006dc03.tar.xz
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 <saravanak@google.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Link: https://lore.kernel.org/r/4326215.LvFx2qVVIh@kreacher Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions