[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240927043125.8199-1-zhangjiao2@cmss.chinamobile.com>
Date: Fri, 27 Sep 2024 12:31:25 +0800
From: zhangjiao2 <zhangjiao2@...s.chinamobile.com>
To: shuah@...nel.org
Cc: mpe@...erman.id.au,
linuxppc-dev@...ts.ozlabs.org,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
zhang jiao <zhangjiao2@...s.chinamobile.com>
Subject: [PATCH] selftests/powerpc: Rm the unnecessary remove function.
From: zhang jiao <zhangjiao2@...s.chinamobile.com>
Path is not initialized before use,
remove the unnecessary remove function.
Signed-off-by: zhang jiao <zhangjiao2@...s.chinamobile.com>
---
tools/testing/selftests/powerpc/mm/tlbie_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/powerpc/mm/tlbie_test.c b/tools/testing/selftests/powerpc/mm/tlbie_test.c
index 48344a74b212..fd1456d16a7d 100644
--- a/tools/testing/selftests/powerpc/mm/tlbie_test.c
+++ b/tools/testing/selftests/powerpc/mm/tlbie_test.c
@@ -314,7 +314,6 @@ static inline void end_verification_log(unsigned int tid, unsigned nr_anamolies)
fclose(f);
if (nr_anamolies == 0) {
- remove(path);
return;
}
--
2.33.0
Powered by blists - more mailing lists