From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754393AbZENNys (ORCPT ); Thu, 14 May 2009 09:54:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1753160AbZENNyg (ORCPT ); Thu, 14 May 2009 09:54:36 -0400 Received: from gw-ca.panasas.com ([209.116.51.66]:6045 "EHLO laguna.int.panasas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1753392AbZENNyf (ORCPT ); Thu, 14 May 2009 09:54:35 -0400 Message-ID: <4A0C2297.5040001@panasas.com> Date: Thu, 14 May 2009 16:54:31 +0300 From: Boaz Harrosh User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1b3pre) Gecko/20090315 Remi/3.0-0.b2.fc10.remi Thunderbird/3.0b2 MIME-Version: 1.0 To: FUJITA Tomonori , jens.axboe@oracle.com, Tejun Heo CC: James.Bottomley@HansenPartnership.com, linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/3] block: completion related functions cleanup References: <1242032169-22422-1-git-send-email-fujita.tomonori@lab.ntt.co.jp> In-Reply-To: <1242032169-22422-1-git-send-email-fujita.tomonori@lab.ntt.co.jp> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 14 May 2009 13:54:34.0547 (UTC) FILETIME=[83598030:01C9D49B] Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 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 --- 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