summaryrefslogtreecommitdiff
path: root/fs/ext4/mballoc.c
diff options
context:
space:
mode:
authorDmitri Monakho <dmonakhov@openvz.org>2013-04-09 22:48:36 -0400
committerTheodore Ts'o <tytso@mit.edu>2013-04-09 22:48:36 -0400
commit8c8e0ca622847a8b1b281b8927d62229effa0004 (patch)
tree3c28a32496dfd3ab667dcfc3907c817af6026dbd /fs/ext4/mballoc.c
parent27dd43854227bb0e6ab70129bd21b60d396db2e7 (diff)
downloadlinux-rpi-8c8e0ca622847a8b1b281b8927d62229effa0004.tar.gz
linux-rpi-8c8e0ca622847a8b1b281b8927d62229effa0004.tar.bz2
linux-rpi-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;