[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20230704122148.11573-1-duminjie@vivo.com>
Date: Tue, 4 Jul 2023 20:21:47 +0800
From: Minjie Du <duminjie@...o.com>
To: Paolo Bonzini <pbonzini@...hat.com>, Shuah Khan <shuah@...nel.org>,
Minjie Du <duminjie@...o.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
kvm@...r.kernel.org (open list:KERNEL VIRTUAL MACHINE (KVM)),
linux-kselftest@...r.kernel.org (open list:KERNEL SELFTEST FRAMEWORK),
linux-kernel@...r.kernel.org (open list)
Cc: opensource.kernel@...o.com
Subject: [PATCH v1] tools: remove duplicate assignment
Fix: make 'nodep' remove duplicate assignment
Signed-off-by: Minjie Du <duminjie@...o.com>
---
tools/testing/selftests/kvm/lib/sparsebit.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/kvm/lib/sparsebit.c b/tools/testing/selftests/kvm/lib/sparsebit.c
index 50e0cf41a..88cb6b84e 100644
--- a/tools/testing/selftests/kvm/lib/sparsebit.c
+++ b/tools/testing/selftests/kvm/lib/sparsebit.c
@@ -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;
--
2.39.0
Powered by blists - more mailing lists