linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] debugfs: remove unused variable 'tmp_inode'
@ 2019-04-22 21:19 Eric Biggers
  2019-04-29  0:37 ` Theodore Ts'o
  0 siblings, 1 reply; 2+ messages in thread
From: Eric Biggers @ 2019-04-22 21:19 UTC (permalink / raw)
  To: linux-ext4

From: Eric Biggers <ebiggers@google.com>

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

Signed-off-by: Eric Biggers <ebiggers@google.com>
---
 debugfs/set_fields.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/debugfs/set_fields.c b/debugfs/set_fields.c
index a7dd34f7..31356fd0 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.21.0.593.g511ec345e18-goog


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-04-29  0:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-22 21:19 [PATCH] debugfs: remove unused variable 'tmp_inode' Eric Biggers
2019-04-29  0:37 ` Theodore Ts'o

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).