Remove bigus test
authorcharles <charles>
Thu, 5 Mar 2009 21:46:46 +0000 (21:46 +0000)
committercharles <charles>
Thu, 5 Mar 2009 21:46:46 +0000 (21:46 +0000)
yaffs_guts.c

index a09328e..ea1ffc2 100644 (file)
@@ -12,7 +12,7 @@
  */
 
 const char *yaffs_guts_c_version =
-    "$Id: yaffs_guts.c,v 1.79 2009-03-05 01:45:28 charles Exp $";
+    "$Id: yaffs_guts.c,v 1.80 2009-03-05 21:46:46 charles Exp $";
 
 #include "yportenv.h"
 
@@ -6858,11 +6858,8 @@ static void yaffs_AddObjectToDirectory(yaffs_Object * directory,
                 /* Not initialised */
                 YBUG();
 
-        } else if (ylist_empty(&obj->siblings)) {
-               YBUG();
         } 
 
-
        yaffs_VerifyDirectory(directory);
 
        yaffs_RemoveObjectFromDirectory(obj);