ocfs2-dlm-remove-redundant-assignment-to-ret.patch removed from -mm tree
The patch titled
Subject: ocfs2/dlm: remove redundant assignment to ret
has been removed from the -mm tree. Its filename was
ocfs2-dlm-remove-redundant-assignment-to-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 to ret
The variable ret is being initialized with a value that is never read and it is being updated later with a new value. The initialization is redundant and can be removed.
Addresses Coverity ("Unused value")
Signed-off-by Colin Ian King <[email protected]>
Reviewed-by Joseph Qi <[email protected]>
Cc Mark Fasheh <[email protected]>
Cc Joel Becker <[email protected]>
Cc Junxiao Bi <[email protected]>
Cc Changwei Ge <[email protected]>
Cc Gang He <[email protected]>
Cc Jun Piao <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
fs/ocfs2/dlm/dlmrecovery.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
fs/ocfs2/dlm/dlmrecovery.c renamed from fs/ocfs2/dlm/dlmrecovery.c~ocfs2-dlm-remove-redundant-assignment-to-ret +1 -1
@@ -1668,7 +1668,7 @@ static int dlm_lockres_master_requery(stint dlm_do_master_requery (struct dlm_ctxt *dlm,struct dlm_lock_resource *res,u8 nodenum,u8 *real_master) { -int ret = -EINVAL ; +int ret;struct dlm_master_requery req;int status =DLM_LOCK_RES_OWNER_UNKNOWN ;
_
Patches currently in -mm which might be from [email protected] are