summaryrefslogtreecommitdiffstats
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorDmitri Monakho2013-04-10 04:48:36 +0200
committerTheodore Ts'o2013-04-10 04:48:36 +0200
commit8c8e0ca622847a8b1b281b8927d62229effa0004 (patch)
tree3c28a32496dfd3ab667dcfc3907c817af6026dbd /fs/ext4/mballoc.c
parentext4: introduce reserved space (diff)
downloadkernel-qcow2-linux-8c8e0ca622847a8b1b281b8927d62229effa0004.tar.gz
kernel-qcow2-linux-8c8e0ca622847a8b1b281b8927d62229effa0004.tar.xz
kernel-qcow2-linux-8c8e0ca622847a8b1b281b8927d62229effa0004.zip
ext4: fix usless declarations
This patch should fix sparse complains about shadow declatations. Signed-off-by: Dmitry Monakhov <dmonakhov@openvz.org> Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Diffstat (limited to 'fs/ext4/mballoc.c')
-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 6a87f7217474..a11ea4d6164c 100644
--- a/fs/ext4/mballoc.c
+++ b/fs/ext4/mballoc.c
@@ -884,8 +884,6 @@ static int ext4_mb_init_cache(struct page *page, char *incore)
first_block = page->index * blocks_per_page;
for (i = 0; i < blocks_per_page; i++) {
- int group;
-
group = (first_block + i) >> 1;
if (group >= ngroups)
break;