Chen, Kenneth W 0f34e3f533 [SCSI] Redundant memset in scsi_alloc_sgtable
scsi_init_io calls scsi_alloc_sgtable and then calls blk_rq_map_sg
to initialize the scatterlist structure.  blk_rq_map_sg() already
memset the structure for every new segment.  That makes the memset
in scsi_alloc_sgtable unnecessary.

Patch to delete the extra memset in scsi_alloc_sgtable.  Tested on
a x86_64 machine.  Looks stable to me.

Signed-off-by: Ken Chen <kenneth.w.chen@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
2005-07-14 11:24:12 -04:00
..
2005-06-25 16:24:32 -07:00
2005-04-16 15:20:36 -07:00
2005-07-02 19:12:10 -05:00
2005-06-23 09:45:35 -07:00
2005-04-16 15:20:36 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:24:37 -07:00
2005-06-21 18:46:32 -07:00
2005-04-16 15:20:36 -07:00
2005-06-25 16:25:06 -07:00
2005-06-21 18:46:32 -07:00
2005-06-21 18:46:32 -07:00