Skip to contentSkip to conversation

ocfs2-dlm-remove-redundant-assignment-of-variable-ret.patch removed from -mm tree

merged [email protected] 1 participant 1 message Nov 11, 2021

lore
Share & tools
lore

[email protected]

author tree notice Applied
#0 lore raw

The patch titled
Subject: ocfs2/dlm: remove redundant assignment of variable ret
has been removed from the -mm tree. Its filename was
ocfs2-dlm-remove-redundant-assignment-of-variable-ret.patch

This patch was dropped because it was merged into mainline or a subsystem tree

------------------------------------------------------
From: Colin Ian King <[email protected]>
Subject: ocfs2/dlm: remove redundant assignment of variable ret

The variable ret is being assigned a value that is never read, it is updated later on with a different value. The assignment is redundant and can be removed.

Addresses-Coverity: ("Unused value")

---

 fs/ocfs2/dlm/dlmrecovery.c |    1 -
 1 file changed, 1 deletion(-)
fs/ocfs2/dlm/dlmrecovery.c renamed from fs/ocfs2/dlm/dlmrecovery.c~ocfs2-dlm-remove-redundant-assignment-of-variable-ret +0 -1
@@ -2698,7 +2698,6 @@ static int dlm_send_begin_reco_message(s
 			continue;
 		}
 retry:
-		ret = -EINVAL;
 		mlog(0, "attempting to send begin reco msg to %d\n",
 			  nodenum);
 		ret = o2net_send_message(DLM_BEGIN_RECO_MSG, dlm->key,

_

Patches currently in -mm which might be from [email protected] are

lib-stackdepot-allow-optional-init-and-stack_table-allocation-by-kvmalloc-fix.patch