diff options
author | Jens Axboe <jens.axboe@oracle.com> | 2007-10-17 11:16:35 (GMT) |
---|---|---|
committer | Jens Axboe <jens.axboe@oracle.com> | 2007-10-17 11:16:35 (GMT) |
commit | c79d88b7fa48bc21ffd09903a98b93bf0744bce3 (patch) | |
tree | eaaf9fd8345be724ae86d9dfc85f359d597888bf /lib | |
parent | 5804509e652fd26227f6da732d5445af444730d3 (diff) | |
download | linux-fsl-qoriq-c79d88b7fa48bc21ffd09903a98b93bf0744bce3.tar.xz |
[SCSI] ide-scsi: remove usage of sg_last()
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions