[openib-general] [PATCH] iser: remove unused fields of task structure
Or Gerlitz
ogerlitz at voltaire.com
Thu Jan 26 04:54:04 PST 2006
commited in r5187
removed struct iscsi_iser_cmd_task->sg,bad_sg,sg_count,data_offset unused fields
Signed-off-by: Or Gerlitz <ogerlitz at voltaire.com>
Index: ulp/iser/iscsi_iser.h
===================================================================
--- ulp/iser/iscsi_iser.h (revision 5184)
+++ ulp/iser/iscsi_iser.h (revision 5187)
@@ -332,9 +332,6 @@ struct iscsi_iser_cmd_task {
int datasn; /* DataSN */
uint32_t unsol_datasn;
int sent;
- struct scatterlist *sg; /* per-cmd SG list */
- struct scatterlist *bad_sg; /* assert statement */
- int sg_count; /* SG's to process */
int imm_count; /* imm-data (bytes) */
int unsol_count; /* unsolicited (bytes)*/
@@ -344,7 +341,6 @@ struct iscsi_iser_cmd_task {
struct scsi_cmnd *sc; /* associated SCSI cmd*/
int total_length;
- int data_offset;
struct iscsi_iser_mgmt_task *mtask; /* tmf mtask in progr */
unsigned int post_send_count; /* posted send buffers pending completion */
Index: ulp/iser/iscsi_iser.c
===================================================================
--- ulp/iser/iscsi_iser.c (revision 5184)
+++ ulp/iser/iscsi_iser.c (revision 5187)
@@ -105,7 +105,6 @@ static void iscsi_iser_cmd_init(struct i
ctask->mtask = NULL;
ctask->sent = 0;
- ctask->sg_count = 0;
ctask->total_length = sc->request_bufflen;
More information about the general
mailing list