linux-fsdevel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Remove useless affectation in __lookup_mnt()
@ 2010-04-15 19:39 Francis Moreau
  0 siblings, 0 replies; only message in thread
From: Francis Moreau @ 2010-04-15 19:39 UTC (permalink / raw)
  To: linux-fsdevel

---
 fs/namespace.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/fs/namespace.c b/fs/namespace.c
index 8174c8a..bfc0e8e 100644
--- a/fs/namespace.c
+++ b/fs/namespace.c
@@ -420,7 +420,6 @@ struct vfsmount *__lookup_mnt(struct vfsmount
*mnt, struct dentry *dentry,

 	for (;;) {
 		tmp = dir ? tmp->next : tmp->prev;
-		p = NULL;
 		if (tmp == head)
 			break;
 		p = list_entry(tmp, struct vfsmount, mnt_hash);
-- 
1.7.0.2

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

only message in thread, other threads:[~2010-04-15 19:39 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-04-15 19:39 [PATCH] Remove useless affectation in __lookup_mnt() Francis Moreau

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).