yaffs: Update year to 2011 in copyrights etc.
[yaffs2.git] / direct / timothy_tests / quick_tests / test_yaffs_mkdir_EEXIST.c
index 939c2149b4779d7d2df7b4a8423f737359a20109..2d94fa4d60753e8d267495332dc2a070f1c055ea 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * YAFFS: Yet another FFS. A NAND-flash specific file system.
  *
- * Copyright (C) 2002-2010 Aleph One Ltd.
+ * Copyright (C) 2002-2011 Aleph One Ltd.
  *   for Toby Churchill Ltd and Brightstar Engineering
  *
  * Created by Timothy Manning <timothy@yaffs.net>
@@ -49,10 +49,6 @@ int test_yaffs_mkdir_EEXIST(void)
 
 int test_yaffs_mkdir_EEXIST_clean(void)
 {
-       if (output >= 0){
-               return yaffs_rmdir(DIR_PATH);
-       } else {
-               return 1;       
-       }
+       return yaffs_rmdir(DIR_PATH);
 }