mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-17 01:34:00 +08:00
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>
This commit is contained in:
parent
f30661035b
commit
abcf911691
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user