Remove iscsi_allocate_pdu_with_itt_flags_size()

We dont need this anymore.
This commit is contained in:
Ronnie Sahlberg
2012-11-25 19:11:51 -08:00
parent 7b1c0a19bb
commit bb755104e5
3 changed files with 4 additions and 22 deletions

View File

@@ -706,10 +706,10 @@ iscsi_login_async(struct iscsi_context *iscsi, iscsi_command_cb cb,
return -1;
}
pdu = iscsi_allocate_pdu_with_itt_flags_size(iscsi,
pdu = iscsi_allocate_pdu_with_itt_flags(iscsi,
ISCSI_PDU_LOGIN_REQUEST,
ISCSI_PDU_LOGIN_RESPONSE,
iscsi->itt, 0, 1024);
iscsi->itt, 0);
if (pdu == NULL) {
iscsi_set_error(iscsi, "Out-of-memory: Failed to allocate "
"login pdu.");