Commit 7e4966e6 authored by Minjie Du's avatar Minjie Du Committed by Sean Christopherson

KVM: selftests: Remove superfluous variable assignment

Don't nullify "nodep" to NULL one line before it's set to "tmp".
Signed-off-by: default avatarMinjie Du <duminjie@vivo.com>
Link: https://lore.kernel.org/r/20230704122148.11573-1-duminjie@vivo.com
[sean: massage shortlog+changelog]
Signed-off-by: default avatarSean Christopherson <seanjc@google.com>
parent b859b018
......@@ -634,7 +634,6 @@ static void node_reduce(struct sparsebit *s, struct node *nodep)
tmp = node_prev(s, nodep);
node_rm(s, nodep);
nodep = NULL;
nodep = tmp;
reduction_performed = true;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment