Skip to content

Commit

Permalink
ext4: remove unused variable in ext4_free_blocks()
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lukas Czerner authored and Theodore Ts'o committed Mar 11, 2013
1 parent e1c3659 commit e3d85c3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions fs/ext4/mballoc.c
Original file line number Diff line number Diff line change
Expand Up @@ -4464,7 +4464,6 @@ void ext4_free_blocks(handle_t *handle, struct inode *inode,
struct buffer_head *bitmap_bh = NULL;
struct super_block *sb = inode->i_sb;
struct ext4_group_desc *gdp;
unsigned long freed = 0;
unsigned int overflow;
ext4_grpblk_t bit;
struct buffer_head *gd_bh;
Expand Down Expand Up @@ -4672,8 +4671,6 @@ void ext4_free_blocks(handle_t *handle, struct inode *inode,

ext4_mb_unload_buddy(&e4b);

freed += count;

if (!(flags & EXT4_FREE_BLOCKS_NO_QUOT_UPDATE))
dquot_free_block(inode, EXT4_C2B(sbi, count_clusters));

Expand Down

0 comments on commit e3d85c3

Please sign in to comment.