aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/libiscsi.c
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-01-28 17:11:27 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-02-07 19:02:33 -0500
commitf8d9d654fcc7dd87f5d0b222e233eaab15d650c4 (patch)
tree22514d77f4904b4cf9dabb4321cf763e2afa91fc /drivers/scsi/libiscsi.c
parent5234e25c35a708708559727b1e3e04de3a538828 (diff)
[SCSI] libiscsi: make __iscsi_complete_pdu() static
__iscsi_complete_pdu() can now become static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/libiscsi.c')
-rw-r--r--drivers/scsi/libiscsi.c5
1 files changed, 2 insertions, 3 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 */
544int __iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, 544static 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}
675EXPORT_SYMBOL_GPL(__iscsi_complete_pdu);
676 675
677int iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr, 676int iscsi_complete_pdu(struct iscsi_conn *conn, struct iscsi_hdr *hdr,
678 char *data, int datalen) 677 char *data, int datalen)