Skip to content
Snippets Groups Projects
Commit 0e900029 authored by Michal Orzel's avatar Michal Orzel Committed by akpm
Browse files

ipc/sem: remove redundant assignments

Get rid of redundant assignments which end up in values not being
read either because they are overwritten or the function ends.

Reported by clang-tidy [deadcode.DeadStores]

Link: https://lkml.kernel.org/r/20220409101933.207157-1-michalorzel.eng@gmail.com


Signed-off-by: default avatarMichal Orzel <michalorzel.eng@gmail.com>
Reviewed-by: default avatarTom Rix <trix@redhat.com>
Reviewed-by: default avatarNathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
parent 800c24dc
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment