diff options
author | Labun, Marcin <Marcin.Labun@intel.com> | 2011-03-10 11:45:49 +1100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2011-03-10 11:45:49 +1100 |
commit | b4cf4cba74aeb3949c256ce0f8a2836ae31b497d (patch) | |
tree | c9f2739a35519bd36ba02d5f6bbbbb77241974e5 /super-intel.c | |
parent | 5a6baf6653107632707be296254d919f0395c6ff (diff) |
imsm: remove unused parameters in function attach_hba_to_super
Signed-off-by: Marcin Labun <marcin.labun@intel.com>
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super-intel.c')
-rw-r--r-- | super-intel.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/super-intel.c b/super-intel.c index 931b7fe4..e5a53a41 100644 --- a/super-intel.c +++ b/super-intel.c @@ -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 " |