All of lore.kernel.org
 help / color / mirror / Atom feed
* [patch 10/84] fs/befs/linuxvfs.c:befs_iget(): remove unneeded befs_nio initialization to NULL
@ 2016-05-23 23:22 akpm
  0 siblings, 0 replies; only message in thread
From: akpm @ 2016-05-23 23:22 UTC (permalink / raw)
  To: torvalds, mm-commits, akpm, salah.triki

From: Salah Triki <salah.triki@acm.org>
Subject: 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>
---

 fs/befs/linuxvfs.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff -puN fs/befs/linuxvfs.c~fs-befs-linuxvfsc-befs_iget-remove-unneeded-befs_nio-initialization-to-null fs/befs/linuxvfs.c
--- a/fs/befs/linuxvfs.c~fs-befs-linuxvfsc-befs_iget-remove-unneeded-befs_nio-initialization-to-null
+++ a/fs/befs/linuxvfs.c
@@ -297,7 +297,7 @@ static struct inode *befs_iget(struct su
 	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;
 
_

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-05-23 23:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-05-23 23:22 [patch 10/84] fs/befs/linuxvfs.c:befs_iget(): remove unneeded befs_nio initialization to NULL akpm

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.