aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2016-08-11 07:04:52 -0400
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 05:01:28 -0400
commit78f647c27f17b10bd7e1ce5d66a3755b1848efa5 (patch)
treeebea33cc0fd7a63b024e5c37277453ac89aa0b3b
parent2ac636b4d04702e26421598949fc30c7a9e38988 (diff)
befs: remove unnecessary initialization
There is no need to init block, since it will be overwitten later by iaddr2blockno(). Signed-off-by: Salah Triki <salah.triki@gmail.com> Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
-rw-r--r--fs/befs/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/io.c b/fs/befs/io.c
index 4223b779fcc4..b4a558126ee1 100644
--- a/fs/befs/io.c
+++ b/fs/befs/io.c
@@ -27,7 +27,7 @@ struct buffer_head *
27befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr) 27befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr)
28{ 28{
29 struct buffer_head *bh; 29 struct buffer_head *bh;
30 befs_blocknr_t block = 0; 30 befs_blocknr_t block;
31 struct befs_sb_info *befs_sb = BEFS_SB(sb); 31 struct befs_sb_info *befs_sb = BEFS_SB(sb);
32 32
33 befs_debug(sb, "---> Enter %s " 33 befs_debug(sb, "---> Enter %s "