Skip to contentSkip to conversation

debugfs: remove unused variable 'tmp_inode'

PATCH Applied Eric Biggers 2 participants 2 messages Apr 22, 2019 – Apr 29, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 debugfs: remove unused variable 'tmp_inode'

From: Eric Biggers <[email protected]>

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

---
 debugfs/set_fields.c | 1 -
 1 file changed, 1 deletion(-)
debugfs/set_fields.c +0 -1
index a7dd34f7..31356fd0 100644
@@ -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);
Signature · 1 line
2.21.0.593.g511ec345e18-goog