提交 d6e02033 编写于 作者: S Salah Triki 提交者: Linus Torvalds

fs/befs/linuxvfs.c:befs_iget(): remove unneeded befs_nio initialization to NULL

befs_ino is reinitialized by BEFS_I() so no need to init it
with NULL in the beginning of befs_iget()

Link: http://lkml.kernel.org/r/a5c02445e436629c4d4ba1b65d91501878942f58.1462842887.git.salah.triki@acm.orgSigned-off-by: NSalah Triki <salah.triki@acm.org>
Signed-off-by: NAndrew Morton <akpm@linux-foundation.org>
Signed-off-by: NLinus Torvalds <torvalds@linux-foundation.org>
上级 44ad8098
...@@ -297,7 +297,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino) ...@@ -297,7 +297,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino)
struct buffer_head *bh; struct buffer_head *bh;
befs_inode *raw_inode; befs_inode *raw_inode;
struct befs_sb_info *befs_sb = BEFS_SB(sb); struct befs_sb_info *befs_sb = BEFS_SB(sb);
struct befs_inode_info *befs_ino = NULL; struct befs_inode_info *befs_ino;
struct inode *inode; struct inode *inode;
long ret = -EIO; long ret = -EIO;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册