summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorYongqiang Yang <xiaoqiangnk@gmail.com>2011-06-28 16:19:05 +0200
committerTheodore Ts'o <tytso@mit.edu>2011-06-28 16:19:05 +0200
commit9331b6261058eb85ae7c57ab8ac279e7fdaa9f04 (patch)
tree3be0d02e7e917ec84cca7260dacff754da579156 /fs/ext4/mballoc.c
parentext4: refactor duplicated block placement code (diff)
downloadlinux-9331b6261058eb85ae7c57ab8ac279e7fdaa9f04.tar.xz
linux-9331b6261058eb85ae7c57ab8ac279e7fdaa9f04.zip
ext4: quiet 'unused variables' compile warnings
Unused variables was deleted. Signed-off-by: Yongqiang Yang <xiaoqiangnk@gmail.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to '')
-rw-r--r--fs/ext4/mballoc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/fs/ext4/mballoc.c b/fs/ext4/mballoc.c
index 6ed859d56850..389386b41c98 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -4666,12 +4666,10 @@ void ext4_add_groupblocks(handle_t *handle, struct super_block *sb,
struct ext4_buddy e4b;
int err = 0, ret, blk_free_count;
ext4_grpblk_t blocks_freed;
- struct ext4_group_info *grp;
ext4_debug("Adding block(s) %llu-%llu\n", block, block + count - 1);
ext4_get_group_no_and_offset(sb, block, &block_group, &bit);
- grp = ext4_get_group_info(sb, block_group);
/*
* Check to see if we are freeing blocks across a group
* boundary.