mtd/fs/jffs2 nodelist.c,1.95,1.96

Artem Bityuckiy dedekind at infradead.org
Wed Jul 6 10:43:18 EDT 2005


Update of /home/cvs/mtd/fs/jffs2
In directory phoenix.infradead.org:/tmp/cvs-serv1500

Modified Files:
	nodelist.c 
Log Message:
Simlify the tree insert code.


Index: nodelist.c
===================================================================
RCS file: /home/cvs/mtd/fs/jffs2/nodelist.c,v
retrieving revision 1.95
retrieving revision 1.96
diff -u -r1.95 -r1.96
--- nodelist.c	5 Jul 2005 21:03:07 -0000	1.95
+++ nodelist.c	6 Jul 2005 14:43:14 -0000	1.96
@@ -71,10 +71,6 @@
 
 		if (tn->version < this->version)
 			p = &(*p)->rb_left;
-		else if (tn->version > this->version)
-			p = &(*p)->rb_right;
-		else if (tn < this)
-			p = &(*p)->rb_left;
 		else
 			p = &(*p)->rb_right;
         }





More information about the linux-mtd-cvs mailing list