Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7a6c76b1 authored by Gu Zheng's avatar Gu Zheng Committed by Jaegeuk Kim
Browse files

f2fs: cleanup the needless return of f2fs_create_root_stats

parent 81e366f8
Loading
Loading
Loading
Loading
+5 −12
Original line number Diff line number Diff line
@@ -345,21 +345,14 @@ void __init f2fs_create_root_stats(void)

	f2fs_debugfs_root = debugfs_create_dir("f2fs", NULL);
	if (!f2fs_debugfs_root)
		goto bail;
		return;

	file = debugfs_create_file("status", S_IRUGO, f2fs_debugfs_root,
			NULL, &stat_fops);
	if (!file)
		goto free_debugfs_dir;

	return;

free_debugfs_dir:
	if (!file) {
		debugfs_remove(f2fs_debugfs_root);

bail:
		f2fs_debugfs_root = NULL;
	return;
	}
}

void f2fs_destroy_root_stats(void)