summaryrefslogtreecommitdiff
path: root/fs/ext4/resize.c
diff options
context:
space:
mode:
authorJon Ernst <jonernst07@gmx.com>2013-06-17 16:56:26 +0400
committerTheodore Ts'o <tytso@mit.edu>2013-06-17 16:56:26 +0400
commit03b40e349695dc700582568e5b410a89058f707e (patch)
tree0b029fd2f30b33f0fcdc0a68b4941fb7b1531cdd /fs/ext4/resize.c
parent72dac95d4403ee7231e094e1735ecb96032e6117 (diff)
downloadlinux-03b40e349695dc700582568e5b410a89058f707e.tar.xz
ext4: delete unused variables
This patch removed several unused variables. Signed-off-by: Jon Ernst <jonernst07@gmx.com> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/resize.c')
-rw-r--r--fs/ext4/resize.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/ext4/resize.c b/fs/ext4/resize.c
index 6ed4df27da8d..707095b924d9 100644
--- a/fs/ext4/resize.c
+++ b/fs/ext4/resize.c
@@ -1556,11 +1556,10 @@ int ext4_group_add(struct super_block *sb, struct ext4_new_group_data *input)
int reserved_gdb = ext4_bg_has_super(sb, input->group) ?
le16_to_cpu(es->s_reserved_gdt_blocks) : 0;
struct inode *inode = NULL;
- int gdb_off, gdb_num;
+ int gdb_off;
int err;
__u16 bg_flags = 0;
- gdb_num = input->group / EXT4_DESC_PER_BLOCK(sb);
gdb_off = input->group % EXT4_DESC_PER_BLOCK(sb);
if (gdb_off == 0 && !EXT4_HAS_RO_COMPAT_FEATURE(sb,