linux-ext4.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Eric Biggers <ebiggers@kernel.org>
To: linux-ext4@vger.kernel.org
Subject: [PATCH] debugfs: remove unused variable 'tmp_inode'
Date: Mon, 22 Apr 2019 14:19:50 -0700	[thread overview]
Message-ID: <20190422211950.196986-1-ebiggers@kernel.org> (raw)

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


             reply	other threads:[~2019-04-22 21:20 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-22 21:19 Eric Biggers [this message]
2019-04-29  0:37 ` [PATCH] debugfs: remove unused variable 'tmp_inode' Theodore Ts'o

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190422211950.196986-1-ebiggers@kernel.org \
    --to=ebiggers@kernel.org \
    --cc=linux-ext4@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).