[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20190422210843.185382-1-ebiggers@kernel.org>
Date: Mon, 22 Apr 2019 14:08:43 -0700
From: Eric Biggers <ebiggers@...nel.org>
To: linux-ext4@...r.kernel.org
Cc: Gabriel Krisman Bertazi <krisman@...labora.co.uk>
Subject: [PATCH] libext2fs: remove unused variable 'buff'
From: Eric Biggers <ebiggers@...gle.com>
In ext2fs_dirhash2(), the outer 'buff' variable is never used.
Cc: Gabriel Krisman Bertazi <krisman@...labora.co.uk>
Signed-off-by: Eric Biggers <ebiggers@...gle.com>
---
lib/ext2fs/dirhash.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/lib/ext2fs/dirhash.c b/lib/ext2fs/dirhash.c
index f1e7734d..97fd2431 100644
--- a/lib/ext2fs/dirhash.c
+++ b/lib/ext2fs/dirhash.c
@@ -279,7 +279,6 @@ errcode_t ext2fs_dirhash2(int version, const char *name, int len,
{
errcode_t r;
int dlen;
- unsigned char *buff;
if (len && charset) {
char buff[PATH_MAX];
--
2.21.0.593.g511ec345e18-goog
Powered by blists - more mailing lists