static int create_raid_groups(struct btrfs_trans_handle *trans,
struct btrfs_root *root, u64 data_profile,
- int data_profile_opt, u64 metadata_profile,
- int mixed,
+ u64 metadata_profile, int mixed,
struct mkfs_allocation *allocation)
{
u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy);
raid_groups:
if (!source_dir_set) {
ret = create_raid_groups(trans, root, data_profile,
- data_profile_opt, metadata_profile,
- mixed, &allocation);
+ metadata_profile, mixed, &allocation);
BUG_ON(ret);
}