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
  • trace
  • tracing_map.c
Find file BlameHistoryPermalink
  • Chen Zhongjin's avatar
    tracing: Remove unused variable 'dups' · ed87277f
    Chen Zhongjin authored Sep 30, 2022
    Reported by Clang [-Wunused-but-set-variable]
    
    'commit c193707d ("tracing: Remove code which merges duplicates")'
    This commit removed the code which merges duplicates in detect_dups(),
    but forgot to delete the variable 'dups' which used to merge
    duplicates in the loop.
    
    Now only 'total_dups' is needed, remove 'dups' for clean code.
    
    Link: https://lkml.kernel.org/r/20220930103236.253985-1-chenzhongjin@huawei.com
    
    
    
    Signed-off-by: default avatarChen Zhongjin <chenzhongjin@huawei.com>
    Signed-off-by: default avatarSteven Rostedt (Google) <rostedt@goodmis.org>
    ed87277f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7