summaryrefslogtreecommitdiffstats
path: root/fs/befs/io.c
diff options
context:
space:
mode:
authorSalah Triki <salah.triki@gmail.com>2016-08-11 12:04:52 +0100
committerLuis de Bethencourt <luisbg@osg.samsung.com>2016-10-08 10:01:28 +0100
commit78f647c27f17b10bd7e1ce5d66a3755b1848efa5 (patch)
treeebea33cc0fd7a63b024e5c37277453ac89aa0b3b /fs/befs/io.c
parent2ac636b4d04702e26421598949fc30c7a9e38988 (diff)
downloadlinux-stable-78f647c27f17b10bd7e1ce5d66a3755b1848efa5.tar.gz
linux-stable-78f647c27f17b10bd7e1ce5d66a3755b1848efa5.tar.bz2
linux-stable-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/befs/io.c')
-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 "