aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-ti.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2021-05-14 14:11:19 +0200
committerGreg Kroah-Hartman <[email protected]>2021-05-21 22:12:14 +0200
commit0c8713153fbf7ba4e45172e139d501c86006dc03 (patch)
tree032ce94f721d64368749cf915014652eac66fc4b /drivers/usb/cdns3/cdns3-ti.c
parent80dd33cf72d1ab4f0af303f1fa242c6d6c8d328f (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 'drivers/usb/cdns3/cdns3-ti.c')
0 files changed, 0 insertions, 0 deletions