btrfs: remove redundant check on ret and goto
[sfrench/cifs-2.6.git] / fs / btrfs / tests / btrfs-tests.c
index 9786d8cd0aa638be63dd9ed149727949d01d6d1b..e74278170806ea5daa08ac7e5c951bd1db832443 100644 (file)
@@ -278,8 +278,7 @@ int btrfs_run_sanity_tests(void)
                }
        }
        ret = btrfs_test_extent_map();
-       if (ret)
-               goto out;
+
 out:
        btrfs_destroy_test_fs();
        return ret;