Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=f5c0dde4c66421a3a2d7d6fa604a712c9b0744e5
Commit:     f5c0dde4c66421a3a2d7d6fa604a712c9b0744e5
Parent:     c79d88b7fa48bc21ffd09903a98b93bf0744bce3
Author:     FUJITA Tomonori <[EMAIL PROTECTED]>
AuthorDate: Wed Oct 17 13:42:11 2007 +0200
Committer:  Jens Axboe <[EMAIL PROTECTED]>
CommitDate: Wed Oct 17 13:42:11 2007 +0200

    [SCSI] Remove full sg table memset()
    
    We don't need to do that anymore, since blk_rq_map_sg() clears
    individual entries.
    
    Signed-off-by: Jens Axboe <[EMAIL PROTECTED]>
---
 drivers/scsi/scsi_lib.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index aac8a02..0c86be7 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -764,8 +764,6 @@ struct scatterlist *scsi_alloc_sgtable(struct scsi_cmnd 
*cmd, gfp_t gfp_mask)
                if (unlikely(!sgl))
                        goto enomem;
 
-               memset(sgl, 0, sizeof(*sgl) * sgp->size);
-
                /*
                 * first loop through, set initial index and return value
                 */
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to