]> git.ipfire.org Git - thirdparty/mdadm.git/commitdiff
imsm: remove unused parameters in function attach_hba_to_super
authorLabun, Marcin <Marcin.Labun@intel.com>
Thu, 10 Mar 2011 00:45:49 +0000 (11:45 +1100)
committerNeilBrown <neilb@suse.de>
Thu, 10 Mar 2011 00:45:49 +0000 (11:45 +1100)
Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
super-intel.c

index 931b7fe436d02d93c6d5c0364aaf721d515c0f39..e5a53a4165c19139803b13fef8741e409c151ee6 100644 (file)
@@ -408,8 +408,7 @@ static struct intel_hba * find_intel_hba(struct intel_hba *hba, struct sys_dev *
 }
 
 
-static int attach_hba_to_super(struct intel_super *super, struct sys_dev *device,
-                              const char *devname)
+static int attach_hba_to_super(struct intel_super *super, struct sys_dev *device)
 {
        struct intel_hba *hba;
 
@@ -3696,7 +3695,7 @@ static int add_to_super_imsm(struct supertype *st, mdu_disk_info_t *dk,
                                devname ? : "disk");
                        return 1;
                }
-               rv = attach_hba_to_super(super, hba_name, devname);
+               rv = attach_hba_to_super(super, hba_name);
                switch (rv) {
                case 2:
                        fprintf(stderr, Name ": %s is attached to Intel(R) %s RAID "