aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/target/target_core_internal.h
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_internal.h
parenttarget: Remove unneeded double parentheses (diff)
downloadlinux-dev-2dca673b46c586d8e5dd0c8e3a582b51a1d7907d.tar.xz
linux-dev-2dca673b46c586d8e5dd0c8e3a582b51a1d7907d.zip
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_internal.h')
-rw-r--r--drivers/target/target_core_internal.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/target/target_core_internal.h b/drivers/target/target_core_internal.h
index 88f69e0ba515..d41a9bb89ce1 100644
--- a/drivers/target/target_core_internal.h
+++ b/drivers/target/target_core_internal.h
@@ -45,8 +45,7 @@ int se_dev_set_max_sectors(struct se_device *, u32);
int se_dev_set_fabric_max_sectors(struct se_device *, u32);
int se_dev_set_optimal_sectors(struct se_device *, u32);
int se_dev_set_block_size(struct se_device *, u32);
-struct se_lun *core_dev_add_lun(struct se_portal_group *, struct se_hba *,
- struct se_device *, u32);
+struct se_lun *core_dev_add_lun(struct se_portal_group *, struct se_device *, u32);
int core_dev_del_lun(struct se_portal_group *, u32);
struct se_lun *core_get_lun_from_tpg(struct se_portal_group *, u32);
struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *,