public inbox for linux-ext4@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] fs/ext2: remove unused variable es
@ 2022-09-13  7:11 Yuan Can
  2022-09-13 14:50 ` Ritesh Harjani (IBM)
  0 siblings, 1 reply; 3+ messages in thread
From: Yuan Can @ 2022-09-13  7:11 UTC (permalink / raw)
  To: jack, linux-ext4; +Cc: yuancan

The variable es is never used, remove it.
No functional change.

Signed-off-by: Yuan Can <yuancan@huawei.com>
---
 fs/ext2/ialloc.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/fs/ext2/ialloc.c b/fs/ext2/ialloc.c
index 998dd2ac8008..951b80a7f7d2 100644
--- a/fs/ext2/ialloc.c
+++ b/fs/ext2/ialloc.c
@@ -620,11 +620,9 @@ unsigned long ext2_count_free_inodes (struct super_block * sb)
 	int i;	
 
 #ifdef EXT2FS_DEBUG
-	struct ext2_super_block *es;
 	unsigned long bitmap_count = 0;
 	struct buffer_head *bitmap_bh = NULL;
 
-	es = EXT2_SB(sb)->s_es;
 	for (i = 0; i < EXT2_SB(sb)->s_groups_count; i++) {
 		unsigned x;
 
-- 
2.17.1


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

end of thread, other threads:[~2022-09-14  8:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-13  7:11 [PATCH] fs/ext2: remove unused variable es Yuan Can
2022-09-13 14:50 ` Ritesh Harjani (IBM)
2022-09-14  8:44   ` Jan Kara

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox