On 05/11/2009 11:56 AM, FUJITA Tomonori wrote: > This is a minor cleanup on the completion releated functions. It is on > the top of Tejun's unify request processing model patchset. > > Hi Tomo, Jens, Tejun. A small left-over from this grate cleanup work. I think it was Tejun's patch that left this unused. (Should go through block tree) Here: --- From: Boaz Harrosh <bharrosh@xxxxxxxxxxx> Date: Thu, 14 May 2009 16:46:03 +0300 Subject: [PATCH] scsi_lib: remove unused variable assignment The last request completion cleanup in scsi_lib left an unused this_count assignment in scsi_io_completion(). (It was used before in a code segment that now uses blk_end_request_all()) Signed-off-by: Boaz Harrosh <bharrosh@xxxxxxxxxxx> --- 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 e410d66..f8600d6 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -789,7 +789,6 @@ void scsi_io_completion(struct scsi_cmnd *cmd, unsigned int good_bytes) */ if (scsi_end_request(cmd, error, good_bytes, result == 0) == NULL) return; - this_count = blk_rq_bytes(req); error = -EIO; -- 1.6.2.1 -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html