[<prev] [next>] [day] [month] [year] [list]
Message-Id: <20240903041620.10812-1-bajing@cmss.chinamobile.com>
Date: Tue, 3 Sep 2024 12:16:20 +0800
From: Ba Jing <bajing@...s.chinamobile.com>
To: shuah@...nel.org
Cc: yutingtseng@...gle.com,
cmllamas@...gle.com,
gregkh@...uxfoundation.org,
linux-kselftest@...r.kernel.org,
linux-kernel@...r.kernel.org,
Ba Jing <bajing@...s.chinamobile.com>
Subject: [PATCH] binderfs: binderfs_test: remove unused variable
The variable "wret" is never referenced in the code, just remove it.
Signed-off-by: Ba Jing <bajing@...s.chinamobile.com>
---
tools/testing/selftests/filesystems/binderfs/binderfs_test.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/tools/testing/selftests/filesystems/binderfs/binderfs_test.c b/tools/testing/selftests/filesystems/binderfs/binderfs_test.c
index 319567f0fae1..81db85a5cc16 100644
--- a/tools/testing/selftests/filesystems/binderfs/binderfs_test.c
+++ b/tools/testing/selftests/filesystems/binderfs/binderfs_test.c
@@ -57,7 +57,6 @@ static int __do_binderfs_test(struct __test_metadata *_metadata)
{
int fd, ret, saved_errno, result = 1;
size_t len;
- ssize_t wret;
struct binderfs_device device = { 0 };
struct binder_version version = { 0 };
char binderfs_mntpt[] = P_tmpdir "/binderfs_XXXXXX",
--
2.33.0
Powered by blists - more mailing lists