summaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2016-08-11 13:04:52 +0200
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 11:01:28 +0200
commit78f647c27f17b10bd7e1ce5d66a3755b1848efa5 (patch)
treeebea33cc0fd7a63b024e5c37277453ac89aa0b3b /fs
parentbefs: fix typo in befs_sb_info (diff)
downloadlinux-78f647c27f17b10bd7e1ce5d66a3755b1848efa5.tar.xz
linux-78f647c27f17b10bd7e1ce5d66a3755b1848efa5.zip
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>
Diffstat (limited to 'fs')
-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 *
befs_bread_iaddr(struct super_block *sb, befs_inode_addr iaddr)
{
struct buffer_head *bh;
- befs_blocknr_t block = 0;
+ befs_blocknr_t block;
struct befs_sb_info *befs_sb = BEFS_SB(sb);
befs_debug(sb, "---> Enter %s "