diff options
author | Salah Triki <salah.triki@gmail.com> | 2016-08-11 14:04:52 +0300 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-10-08 12:01:28 +0300 |
commit | 78f647c27f17b10bd7e1ce5d66a3755b1848efa5 (patch) | |
tree | ebea33cc0fd7a63b024e5c37277453ac89aa0b3b /fs/befs | |
parent | 2ac636b4d04702e26421598949fc30c7a9e38988 (diff) | |
download | linux-78f647c27f17b10bd7e1ce5d66a3755b1848efa5.tar.xz |
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')
-rw-r--r-- | fs/befs/io.c | 2 |
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 " |