Messages in this thread | | | Date | Thu, 14 May 2009 23:05:09 +0900 | From | Tejun Heo <> | Subject | Re: [PATCH 0/3] block: completion related functions cleanup |
| |
Boaz Harrosh wrote: > --- > 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; >
Nice spotting. Looks like the variable can be killed completely?
Thanks.
-- tejun
| |