From: Jens Axboe Date: Wed, 17 Oct 2007 11:16:35 +0000 (+0200) Subject: [SCSI] ide-scsi: remove usage of sg_last() X-Git-Tag: v2.6.24-rc1~490^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c79d88b7fa48bc21ffd09903a98b93bf0744bce3;p=pandora-kernel.git [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 --- Reading git-diff-tree failed