Skip to content
Commit c79d88b7 authored by Jens Axboe's avatar Jens Axboe
Browse files

[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: default avatarJens Axboe <jens.axboe@oracle.com>
parent 5804509e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment