commit | f5c0dde4c66421a3a2d7d6fa604a712c9b0744e5 | [log] [tgz] |
---|---|---|
author | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | Wed Oct 17 13:42:11 2007 +0200 |
committer | Jens Axboe <jens.axboe@oracle.com> | Wed Oct 17 13:42:11 2007 +0200 |
tree | 66de7ba8500559ad89752404650145fe74e6248f | |
parent | c79d88b7fa48bc21ffd09903a98b93bf0744bce3 [diff] |
[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 <jens.axboe@oracle.com>
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 @@ if (unlikely(!sgl)) goto enomem; - memset(sgl, 0, sizeof(*sgl) * sgp->size); - /* * first loop through, set initial index and return value */