Blob Blame History Raw
From 68c586c2b58cfb1677a1b37f6e55025d905228ed Mon Sep 17 00:00:00 2001
From: Eric Biggers <ebiggers@google.com>
Date: Sun, 28 Apr 2019 20:37:21 -0400
Subject: [PATCH 1/4] debugfs: remove unused variable 'tmp_inode'

In parse_inode_csum(), the outer 'tmp_inode' variable is never used.

Signed-off-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
---
 debugfs/set_fields.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debugfs/set_fields.c b/debugfs/set_fields.c
index 4f033249..9cf8c735 100644
--- a/debugfs/set_fields.c
+++ b/debugfs/set_fields.c
@@ -674,7 +674,6 @@ static errcode_t parse_inode_csum(struct field_set_info *info, char *field,
 	errcode_t	retval = 0;
 	__u32		crc;
 	int		is_large_inode = 0;
-	struct ext2_inode_large *tmp_inode;
 
 	if (strcmp(arg, "calc") == 0) {
 		size_t sz = EXT2_INODE_SIZE(current_fs->super);
-- 
2.20.1