Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • bpf
  • task_iter.c
Find file BlameHistoryPermalink
  • Dan Carpenter's avatar
    bpf: Remove unnecessary loop in task_file_seq_get_next() · bc239eb2
    Dan Carpenter authored Jul 04, 2024
    After commit 0ede61d8
    
     ("file: convert to SLAB_TYPESAFE_BY_RCU") this
    loop always iterates exactly one time.  Delete the for statement and pull
    the code in a tab.
    
    Signed-off-by: default avatarDan Carpenter <dan.carpenter@linaro.org>
    Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
    Reviewed-by: default avatarChristian Brauner <brauner@kernel.org>
    Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
    Acked-by: default avatarYonghong Song <yonghong.song@linux.dev>
    Link: https://lore.kernel.org/bpf/ZoWJF51D4zWb6f5t@stanley.mountain
    bc239eb2
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7