Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • C Ch Linux Perf
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • Ch Linux Perf
  • Repository
Switch branch/tag
  • ch-linux-perf
  • drivers
  • base
  • core.c
Find file BlameHistoryPermalink
  • Rafael J. Wysocki's avatar
    drivers: base: Reduce device link removal code duplication · 0c871315
    Rafael J. Wysocki authored May 14, 2021
    
    
    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: default avatarSaravana Kannan <saravanak@google.com>
    Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
    Link: https://lore.kernel.org/r/4326215.LvFx2qVVIh@kreacher
    
    
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    0c871315