diff options
author | 2022-05-09 18:29:20 -0700 | |
---|---|---|
committer | 2022-05-09 18:29:20 -0700 | |
commit | 0e900029655327bb5326ced02eff97667a079039 (patch) | |
tree | c859913d8d2bce354b1f22d0f1ceef3c7d444722 /ipc/mqueue.c | |
parent | initramfs: support cpio extraction with file checksums (diff) | |
download | linux-dev-0e900029655327bb5326ced02eff97667a079039.tar.xz linux-dev-0e900029655327bb5326ced02eff97667a079039.zip |
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: Michal Orzel <michalorzel.eng@gmail.com>
Reviewed-by: Tom Rix <trix@redhat.com>
Reviewed-by: Nathan Chancellor <nathan@kernel.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'ipc/mqueue.c')
0 files changed, 0 insertions, 0 deletions