diff options
author | Salah Triki <salah.triki@gmail.com> | 2016-07-31 22:34:30 +0200 |
---|---|---|
committer | Luis de Bethencourt <luisbg@osg.samsung.com> | 2016-10-08 11:01:24 +0200 |
commit | abcf911691ee2a4e3fd8c71adc397f67c56565a2 (patch) | |
tree | 0d759544b5d2897798501440f803c5d6c244d457 /fs/befs/linuxvfs.c | |
parent | fs: befs: remove unnecessary *befs_sb variable (diff) | |
download | linux-abcf911691ee2a4e3fd8c71adc397f67c56565a2.tar.xz linux-abcf911691ee2a4e3fd8c71adc397f67c56565a2.zip |
fs: befs: remove in vain variable assignment
There is no need to init res, since it will be overwitten later by
befs_fblock2brun().
Signed-off-by: Salah Triki <salah.triki@gmail.com>
Acked-by: Luis de Bethencourt <luisbg@osg.samsung.com>
Diffstat (limited to 'fs/befs/linuxvfs.c')
-rw-r--r-- | fs/befs/linuxvfs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/befs/linuxvfs.c b/fs/befs/linuxvfs.c index ebfc9f0b8a2d..c3909a6a24a3 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -120,7 +120,7 @@ befs_get_block(struct inode *inode, sector_t block, struct super_block *sb = inode->i_sb; befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; befs_block_run run = BAD_IADDR; - int res = 0; + int res; ulong disk_off; befs_debug(sb, "---> befs_get_block() for inode %lu, block %ld", |