aboutsummaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorLukas Czerner <lczerner@redhat.com>2013-03-10 22:21:49 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-03-10 22:21:49 -0400
commite3d85c366089015805f175324bb1780249f44669 (patch)
treef9b28e113b9409bb1cb3add6d7ef8a65e6b57b8e /fs/ext4/mballoc.c
parente1c36595bedc2e1b4112f01256cb30f4d9f9ae46 (diff)
ext4: remove unused variable in ext4_free_blocks()
Remove unused variable 'freed' in ext4_free_blocks(). Signed-off-by: Lukas Czerner <lczerner@redhat.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-rw-r--r--fs/ext4/mballoc.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 7bb713a46fe4..75e05f3a730f 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4464,7 +4464,6 @@ void ext4_free_blocks(handle_t *handle, struct inode *inode,
4464 struct buffer_head *bitmap_bh = NULL; 4464 struct buffer_head *bitmap_bh = NULL;
4465 struct super_block *sb = inode->i_sb; 4465 struct super_block *sb = inode->i_sb;
4466 struct ext4_group_desc *gdp; 4466 struct ext4_group_desc *gdp;
4467 unsigned long freed = 0;
4468 unsigned int overflow; 4467 unsigned int overflow;
4469 ext4_grpblk_t bit; 4468 ext4_grpblk_t bit;
4470 struct buffer_head *gd_bh; 4469 struct buffer_head *gd_bh;
@@ -4672,8 +4671,6 @@ do_more:
4672 4671
4673 ext4_mb_unload_buddy(&e4b); 4672 ext4_mb_unload_buddy(&e4b);
4674 4673
4675 freed += count;
4676
4677 if (!(flags & EXT4_FREE_BLOCKS_NO_QUOT_UPDATE)) 4674 if (!(flags & EXT4_FREE_BLOCKS_NO_QUOT_UPDATE))
4678 dquot_free_block(inode, EXT4_C2B(sbi, count_clusters)); 4675 dquot_free_block(inode, EXT4_C2B(sbi, count_clusters));
4679 4676