1
0
Fork 0

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>
steinar/wifi_calib_4_9_kernel
Salah Triki 2016-07-31 21:34:30 +01:00 committed by Luis de Bethencourt
parent f30661035b
commit abcf911691
1 changed files with 1 additions and 1 deletions

View File

@ -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",