]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
[SCSI] be2iscsi: No requirement for endianess change for data_count
authorJayamohan Kallickal <jayamohank@serverengines.com>
Mon, 4 Jan 2010 23:40:01 +0000 (05:10 +0530)
committerJames Bottomley <James.Bottomley@suse.de>
Mon, 18 Jan 2010 16:48:22 +0000 (10:48 -0600)
This patch removes the endianess change that was wrongly
added for data_count

Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/be2iscsi/be_main.c

index 26d7016492da87966e9994bdb7a84b405f138d18..6170548a5289f58ae39f65e457113888eb0da057 100644 (file)
@@ -3607,7 +3607,7 @@ static int beiscsi_mtask(struct iscsi_task *task)
        }
 
        AMAP_SET_BITS(struct amap_iscsi_wrb, r2t_exp_dtl, pwrb,
-                     be32_to_cpu(task->data_count));
+                     task->data_count);
        AMAP_SET_BITS(struct amap_iscsi_wrb, ptr2nextwrb, pwrb,
                      io_task->pwrb_handle->nxt_wrb_index);
        be_dws_le_to_cpu(pwrb, sizeof(struct iscsi_wrb));