diff options
author | Salah Triki <salah.triki@acm.org> | 2016-05-23 16:22:49 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-23 17:04:14 -0700 |
commit | d6e0203369ec2f9425e6d6e7ced7b365f5b97bf3 (patch) | |
tree | cfa079f0394f8b1c3f78731dff0ab659a66e0875 /fs/befs/linuxvfs.c | |
parent | 44ad809865299c7c961161c45094e1bb3a12eaa0 (diff) | |
download | linux-d6e0203369ec2f9425e6d6e7ced7b365f5b97bf3.tar.bz2 |
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.org
Signed-off-by: Salah Triki <salah.triki@acm.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
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 711214064dbb..7da05b159ade 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -297,7 +297,7 @@ static struct inode *befs_iget(struct super_block *sb, unsigned long ino) struct buffer_head *bh; befs_inode *raw_inode; 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; long ret = -EIO; |