diff mbox

Btrfs-progs: mkfs: remove ununsed parameters

Message ID 20140425230530.GA26003@hercules.tuxera.com (mailing list archive)
State Accepted
Headers show

Commit Message

Rakesh Pandit April 25, 2014, 11:05 p.m. UTC
Remove ununsed parameters since 71d6bd3c in create_raid_groups.

Signed-off-by: Rakesh Pandit <rakesh@tuxera.com>
---
 mkfs.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox

Patch

diff --git a/mkfs.c b/mkfs.c
index dbd83f5..35917f1 100644
--- a/mkfs.c
+++ b/mkfs.c
@@ -210,7 +210,7 @@  static int create_one_raid_group(struct btrfs_trans_handle *trans,
 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 metadata_profile_opt, int mixed, int ssd)
+			      int mixed)
 {
 	u64 num_devices = btrfs_super_num_devices(root->fs_info->super_copy);
 	int ret;
@@ -1586,7 +1586,7 @@  raid_groups:
 	if (!source_dir_set) {
 		ret = create_raid_groups(trans, root, data_profile,
 				 data_profile_opt, metadata_profile,
-				 metadata_profile_opt, mixed, ssd);
+				 mixed);
 		BUG_ON(ret);
 	}