From: Labun, Marcin Date: Thu, 10 Mar 2011 00:45:49 +0000 (+1100) Subject: imsm: remove unused parameters in function attach_hba_to_super X-Git-Tag: mdadm-3.2.1~61 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4cf4cba74aeb3949c256ce0f8a2836ae31b497d;p=thirdparty%2Fmdadm.git imsm: remove unused parameters in function attach_hba_to_super Signed-off-by: Marcin Labun Signed-off-by: NeilBrown --- 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 "