summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
authorJohn Ferlan <jferlan@redhat.com>2016-05-13 11:38:45 -0400
committerJohn Ferlan <jferlan@redhat.com>2016-05-18 08:29:24 -0400
commit027986f5bff0d89375e94e1344074f82eed27d7b (patch)
treee25bfe675d7429d1070c901053e517408a9582de /src/util
parent56057900dc53df490d953d56de1195ebfa025bdd (diff)
downloadlibvirt-027986f5bff0d89375e94e1344074f82eed27d7b.tar.gz
iscsi: Remove initiatoriqn from virISCSIScanTargets
No longer necessary to have it, so remove it.
Diffstat (limited to 'src/util')
-rw-r--r--src/util/viriscsi.c3
-rw-r--r--src/util/viriscsi.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/src/util/viriscsi.c b/src/util/viriscsi.c
index f4e32540eb..e705517a7d 100644
--- a/src/util/viriscsi.c
+++ b/src/util/viriscsi.c
@@ -307,7 +307,7 @@ virISCSIConnection(const char *portal,
* portal. Without the sendtargets all that is received is a
* "iscsiadm: No records found"
*/
- if (virISCSIScanTargets(portal, initiatoriqn, NULL, NULL) < 0)
+ if (virISCSIScanTargets(portal, NULL, NULL) < 0)
goto cleanup;
break;
@@ -392,7 +392,6 @@ virISCSIGetTargets(char **const groups,
int
virISCSIScanTargets(const char *portal,
- const char *initiatoriqn ATTRIBUTE_UNUSED,
size_t *ntargetsret,
char ***targetsret)
{
diff --git a/src/util/viriscsi.h b/src/util/viriscsi.h
index f4093f7165..459249ee60 100644
--- a/src/util/viriscsi.h
+++ b/src/util/viriscsi.h
@@ -49,7 +49,6 @@ virISCSIRescanLUNs(const char *session)
int
virISCSIScanTargets(const char *portal,
- const char *initiatoriqn,
size_t *ntargetsret,
char ***targetsret)
ATTRIBUTE_NONNULL(1) ATTRIBUTE_RETURN_CHECK;