[SCSI] ide-scsi: remove usage of sg_last()
authorJens Axboe <jens.axboe@oracle.com>
Wed, 17 Oct 2007 11:16:35 +0000 (13:16 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Wed, 17 Oct 2007 11:16:35 +0000 (13:16 +0200)
We want to remove sg_last(), it's a very expensive interface. So
keep track of number of sg entries in the sg list, instead of comparing
with the last entry.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

No differences found