aboutsummaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2006-06-28 13:00:29 -0400
committerJames Bottomley <jejb@mulgrave.il.steeleye.com>2006-06-29 11:08:31 -0400
commite6f3b63f50b4bb9fdc9025e0c3994acd265ad3a2 (patch)
treeec5d681d2b7b203930e6cc1457b4f8aeee91439a /include/scsi
parentf53a88da18e3c04c3ade07bc5eff520ee4259c3e (diff)
[SCSI] iscsi: rm channel usage from iscsi
I do not remember what I was thinking when we added the channel as a argument to the session create function. It was probably due to too much cut and paste work from the FC transport class. The channel is meaningless for iscsi drivers so this patch drops its usage everywhere in the iscsi related code. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'include/scsi')
-rw-r--r--include/scsi/scsi_transport_iscsi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/scsi/scsi_transport_iscsi.h b/include/scsi/scsi_transport_iscsi.h
index 05397058a9b8..2e3cb37af047 100644
--- a/include/scsi/scsi_transport_iscsi.h
+++ b/include/scsi/scsi_transport_iscsi.h
@@ -187,7 +187,6 @@ struct iscsi_cls_session {
187 struct work_struct recovery_work; 187 struct work_struct recovery_work;
188 188
189 int target_id; 189 int target_id;
190 int channel;
191 190
192 int sid; /* session id */ 191 int sid; /* session id */
193 void *dd_data; /* LLD private data */ 192 void *dd_data; /* LLD private data */
@@ -210,7 +209,7 @@ struct iscsi_host {
210 * session and connection functions that can be used by HW iSCSI LLDs 209 * session and connection functions that can be used by HW iSCSI LLDs
211 */ 210 */
212extern struct iscsi_cls_session *iscsi_create_session(struct Scsi_Host *shost, 211extern struct iscsi_cls_session *iscsi_create_session(struct Scsi_Host *shost,
213 struct iscsi_transport *t, int channel); 212 struct iscsi_transport *t);
214extern int iscsi_destroy_session(struct iscsi_cls_session *session); 213extern int iscsi_destroy_session(struct iscsi_cls_session *session);
215extern struct iscsi_cls_conn *iscsi_create_conn(struct iscsi_cls_session *sess, 214extern struct iscsi_cls_conn *iscsi_create_conn(struct iscsi_cls_session *sess,
216 uint32_t cid); 215 uint32_t cid);