aboutsummaryrefslogtreecommitdiff
path: root/drivers/target/target_core_fabric_configfs.c
diff options
context:
space:
mode:
authorAndy Grover <agrover@redhat.com>2012-07-12 17:34:55 -0700
committerNicholas Bellinger <nab@linux-iscsi.org>2012-07-16 17:35:22 -0700
commit2dca673b46c586d8e5dd0c8e3a582b51a1d7907d (patch)
treef11f421db0e7cbb58134435f178f9f17af3e807a /drivers/target/target_core_fabric_configfs.c
parentee1b1b9c3db29643eb82a6b52694555c91af2f97 (diff)
downloadvexpress-lsk-2dca673b46c586d8e5dd0c8e3a582b51a1d7907d.tar.gz
target: Remove hba param from core_dev_add_lun
Only used in a debugprint, and function signature is cleaner now. Signed-off-by: Andy Grover <agrover@redhat.com> Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'drivers/target/target_core_fabric_configfs.c')
-rw-r--r--drivers/target/target_core_fabric_configfs.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_fabric_configfs.c b/drivers/target/target_core_fabric_configfs.c
index 405cc98eaed..ea479e54f5f 100644
--- a/drivers/target/target_core_fabric_configfs.c
+++ b/drivers/target/target_core_fabric_configfs.c
@@ -764,8 +764,7 @@ static int target_fabric_port_link(
goto out;
}
- lun_p = core_dev_add_lun(se_tpg, dev->se_hba, dev,
- lun->unpacked_lun);
+ lun_p = core_dev_add_lun(se_tpg, dev, lun->unpacked_lun);
if (IS_ERR(lun_p)) {
pr_err("core_dev_add_lun() failed\n");
ret = PTR_ERR(lun_p);