linux/fs/ocfs2/dlm
Colin Ian King f492fb3656 ocfs2: remove redundant assignment to variable status
Variable status is being assigned and error code that is never read, it is
being assigned inside of a do-while loop.  The assignment is redundant and
can be removed.

Cleans up clang scan build warning:
fs/ocfs2/dlm/dlmdomain.c:1530:2: warning: Value stored to 'status' is never
read [deadcode.DeadStores]

Link: https://lkml.kernel.org/r/20240423223018.1573213-1-colin.i.king@gmail.com
Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Acked-by: Joseph Qi <joseph.qi@linux.alibaba.com>
Cc: Mark Fasheh <mark@fasheh.com>
Cc: Joel Becker <jlbec@evilplan.org>
Cc: Junxiao Bi <junxiao.bi@oracle.com>
Cc: Changwei Ge <gechangwei@live.cn>
Cc: Gang He <ghe@suse.com>
Cc: Jun Piao <piaojun@huawei.com>
Cc: Heming Zhao <heming.zhao@suse.com>
Cc: Dan Carpenter <dan.carpenter@linaro.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2024-05-08 08:41:27 -07:00
..
dlmapi.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmast.c treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmcommon.h ocfs2/dlm: use bitmap API instead of hand-writing it 2022-11-18 13:55:06 -08:00
dlmconvert.c treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmconvert.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmdebug.c ocfs2: remove usage of list iterator variable after the loop body 2022-04-29 14:37:57 -07:00
dlmdebug.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmdomain.c ocfs2: remove redundant assignment to variable status 2024-05-08 08:41:27 -07:00
dlmdomain.h treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmlock.c treewide: remove editor modelines and cruft 2021-05-07 00:26:34 -07:00
dlmmaster.c ocfs2/dlm: use bitmap API instead of hand-writing it 2022-11-18 13:55:06 -08:00
dlmrecovery.c ocfs2/dlm: use bitmap API instead of hand-writing it 2022-11-18 13:55:06 -08:00
dlmthread.c all: replace find_next{,_zero}_bit with find_first{,_zero}_bit where appropriate 2022-01-15 08:47:31 -08:00
dlmunlock.c ocfs2: replace usage of found with dedicated list iterator variable 2022-04-29 14:37:57 -07:00
Makefile