diff options
author | Salah Triki <salah.triki@acm.org> | 2016-05-24 01:22:46 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2016-05-24 02:04:14 +0200 |
commit | 44ad809865299c7c961161c45094e1bb3a12eaa0 (patch) | |
tree | a9b37c1b1fb996e4de6aa2c5de628f22b5ca955f /fs/befs | |
parent | fs/befs/linuxvfs.c:befs_iget(): remove unneeded initialization to NULL (diff) | |
download | linux-44ad809865299c7c961161c45094e1bb3a12eaa0.tar.xz linux-44ad809865299c7c961161c45094e1bb3a12eaa0.zip |
fs/befs/linuxvfs.c:befs_iget(): remove unneeded raw_inode initialization to NULL
raw_inode is reinitialized to bh->b_data so no need to init it
with NULL in the beginning of befs_iget()
Link: http://lkml.kernel.org/r/0a66baaaacb6b7e5fcea5b31b57b649261152281.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')
-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 410315400755..711214064dbb 100644 --- a/fs/befs/linuxvfs.c +++ b/fs/befs/linuxvfs.c @@ -295,7 +295,7 @@ static void init_once(void *foo) static struct inode *befs_iget(struct super_block *sb, unsigned long ino) { struct buffer_head *bh; - befs_inode *raw_inode = NULL; + befs_inode *raw_inode; struct befs_sb_info *befs_sb = BEFS_SB(sb); struct befs_inode_info *befs_ino = NULL; struct inode *inode; |