lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20220913071141.94082-1-yuancan@huawei.com>
Date:   Tue, 13 Sep 2022 07:11:41 +0000
From:   Yuan Can <yuancan@...wei.com>
To:     <jack@...e.com>, <linux-ext4@...r.kernel.org>
CC:     <yuancan@...wei.com>
Subject: [PATCH] fs/ext2: remove unused variable es

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

Signed-off-by: Yuan Can <yuancan@...wei.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ