diff options
-rw-r--r-- | drivers/scsi/libiscsi.c | 5 | ||||
-rw-r--r-- | include/scsi/libiscsi.h | 2 |
2 files changed, 2 insertions, 5 deletions
diff --git a/drivers/scsi/libiscsi.c b/drivers/scsi/libiscsi.c index 553168ae44f1..e7942628ac4a 100644 --- a/drivers/scsi/libiscsi.c +++ b/drivers/scsi/libiscsi.c | |||
@@ -541,8 +541,8 @@ static int iscsi_handle_reject(struct iscsi_conn *conn, struct iscsi_hdr *hdr, | |||
541 | * queuecommand or send generic. session lock must be held and verify | 541 | * queuecommand or send generic. session lock must be held and verify |
542 | * itt must have been called. | 542 | * itt must have been called. |
543 | */ | 543 | */ |
544 | int __iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, | 544 | static int __iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, |
545 | char *data, int datalen) | 545 | char *data, int datalen) |
546 | { | 546 | { |
547 | struct iscsi_session *session = conn->session; | 547 | struct iscsi_session *session = conn->session; |
548 | int opcode = hdr->opcode & ISCSI_OPCODE_MASK, rc = 0; | 548 | int opcode = hdr->opcode & ISCSI_OPCODE_MASK, rc = 0; |
@@ -672,7 +672,6 @@ int __iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, | |||
672 | 672 | ||
673 | return rc; | 673 | return rc; |
674 | } | 674 | } |
675 | EXPORT_SYMBOL_GPL(__iscsi_complete_pdu); | ||
676 | 675 | ||
677 | int iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, | 676 | int iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, |
678 | char *data, int datalen) | 677 | char *data, int datalen) |
diff --git a/include/scsi/libiscsi.h b/include/scsi/libiscsi.h index 889f51fabab9..71eda24114e9 100644 --- a/include/scsi/libiscsi.h +++ b/include/scsi/libiscsi.h | |||
@@ -349,8 +349,6 @@ extern int iscsi_conn_send_pdu(struct iscsi_cls_conn *, struct iscsi_hdr *, | |||
349 | char *, uint32_t); | 349 | char *, uint32_t); |
350 | extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, | 350 | extern int iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, |
351 | char *, int); | 351 | char *, int); |
352 | extern int __iscsi_complete_pdu(struct iscsi_conn *, struct iscsi_hdr *, | ||
353 | char *, int); | ||
354 | extern int iscsi_verify_itt(struct iscsi_conn *, struct iscsi_hdr *, | 352 | extern int iscsi_verify_itt(struct iscsi_conn *, struct iscsi_hdr *, |
355 | uint32_t *); | 353 | uint32_t *); |
356 | extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask); | 354 | extern void iscsi_requeue_ctask(struct iscsi_cmd_task *ctask); |