diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/scsi/scsi_lib.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index f243fc30c908..135c1d054701 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c | |||
@@ -301,7 +301,6 @@ static int scsi_req_map_sg(struct request *rq, struct scatterlist *sgl, | |||
301 | page = sg_page(sg); | 301 | page = sg_page(sg); |
302 | off = sg->offset; | 302 | off = sg->offset; |
303 | len = sg->length; | 303 | len = sg->length; |
304 | data_len += len; | ||
305 | 304 | ||
306 | while (len > 0 && data_len > 0) { | 305 | while (len > 0 && data_len > 0) { |
307 | /* | 306 | /* |