diff --git a/fs/btrfs/qgroup.c b/fs/btrfs/qgroup.c index 69fa487e29ce4368d779c90faefcca8fd3cef07b..aee4b1cc3d988ccc0dbde615000d07bcf5d35051 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, int ret; int nr = 0; - if (!root) - return -EINVAL; - path = btrfs_alloc_path(); if (!path) return -ENOMEM;