Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • lib
  • mpi
  • mpicoder.c
Find file BlameHistoryPermalink
  • Nicolai Stange's avatar
    lib/mpi: mpi_read_raw_from_sgl(): purge redundant clearing of nbits · 60e1b74c
    Nicolai Stange authored Mar 22, 2016
    
    
    In mpi_read_raw_from_sgl(), unsigned nbits is calculated as follows:
    
      nbits = nbytes * 8;
    
    and redundantly cleared later on if nbytes == 0:
    
      if (nbytes > 0)
        ...
      else
        nbits = 0;
    
    Purge this redundant clearing for the sake of clarity.
    Signed-off-by: default avatarNicolai Stange <nicstange@gmail.com>
    Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
    60e1b74c

Replace mpicoder.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy