summaryrefslogtreecommitdiff
path: root/fs/ext4/ialloc.c
diff options
context:
space:
mode:
authorDmitri Monakho <dmonakhov@openvz.org>2013-04-10 06:48:36 +0400
committerTheodore Ts'o <tytso@mit.edu>2013-04-10 06:48:36 +0400
commit8c8e0ca622847a8b1b281b8927d62229effa0004 (patch)
tree3c28a32496dfd3ab667dcfc3907c817af6026dbd /fs/ext4/ialloc.c
parent27dd43854227bb0e6ab70129bd21b60d396db2e7 (diff)
downloadlinux-8c8e0ca622847a8b1b281b8927d62229effa0004.tar.xz
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/ialloc.c')
-rw-r--r--fs/ext4/ialloc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/ext4/ialloc.c b/fs/ext4/ialloc.c
index 6c5bb8d993fe..4c358f711cef 100644
--- a/fs/ext4/ialloc.c
+++ b/fs/ext4/ialloc.c
@@ -899,7 +899,6 @@ got:
if (EXT4_HAS_RO_COMPAT_FEATURE(sb,
EXT4_FEATURE_RO_COMPAT_METADATA_CSUM)) {
__u32 csum;
- struct ext4_sb_info *sbi = EXT4_SB(inode->i_sb);
__le32 inum = cpu_to_le32(inode->i_ino);
__le32 gen = cpu_to_le32(inode->i_generation);
csum = ext4_chksum(sbi, sbi->s_csum_seed, (__u8 *)&inum,