aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--fs/btrfs/qgroup.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c
index 69fa487e29ce..aee4b1cc3d98 100644
--- a/fs/btrfs/qgroup.c
+++ b/fs/btrfs/qgroup.c
@@ -742,9 +742,6 @@ static int btrfs_clean_quota_tree(struct btrfs_trans_handle *trans,
742 int ret; 742 int ret;
743 int nr = 0; 743 int nr = 0;
744 744
745 if (!root)
746 return -EINVAL;
747
748 path = btrfs_alloc_path(); 745 path = btrfs_alloc_path();
749 if (!path) 746 if (!path)
750 return -ENOMEM; 747 return -ENOMEM;