X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=direct%2Ftimothy_tests%2Fquick_tests%2Ftest_yaffs_symlink_EEXIST.c;h=31f988002149cbd27d33d7d9afbbb863c3d3a79e;hb=4c5424e922763507e8d7f637799052bddfce2630;hp=a3ab85188e8ce4420b2346839ab7af4e88a20a02;hpb=4fef887b5cd2eb69ec776f7d13690d45be45082d;p=yaffs2.git diff --git a/direct/timothy_tests/quick_tests/test_yaffs_symlink_EEXIST.c b/direct/timothy_tests/quick_tests/test_yaffs_symlink_EEXIST.c index a3ab851..31f9880 100644 --- a/direct/timothy_tests/quick_tests/test_yaffs_symlink_EEXIST.c +++ b/direct/timothy_tests/quick_tests/test_yaffs_symlink_EEXIST.c @@ -44,11 +44,7 @@ int test_yaffs_symlink_EEXIST(void) int test_yaffs_symlink_EEXIST_clean(void) { - if (output >= 0){ return yaffs_unlink(SYMLINK_PATH); - } else { - return 1; /* the file failed to open so there is no need to close it */ - } }