summaryrefslogtreecommitdiff
path: root/fs/ext4/move_extent.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/move_extent.c
parent27dd43854227bb0e6ab70129bd21b60d396db2e7 (diff)
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/move_extent.c')
-rw-r--r--fs/ext4/move_extent.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/move_extent.c b/fs/ext4/move_extent.c
index a2e696e16331..661f4ce688ec 100644
--- a/fs/ext4/move_extent.c
+++ b/fs/ext4/move_extent.c
@@ -858,7 +858,6 @@ mext_page_mkuptodate(struct page *page, unsigned from, unsigned to)
if (buffer_uptodate(bh))
continue;
if (!buffer_mapped(bh)) {
- int err = 0;
err = ext4_get_block(inode, block, bh, 0);
if (err) {
SetPageError(page);