Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754717AbYBMVag (ORCPT ); Wed, 13 Feb 2008 16:30:36 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1762520AbYBMV3s (ORCPT ); Wed, 13 Feb 2008 16:29:48 -0500 Received: from smtp5.pp.htv.fi ([213.243.153.39]:47442 "EHLO smtp5.pp.htv.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1762231AbYBMV3r (ORCPT ); Wed, 13 Feb 2008 16:29:47 -0500 Date: Wed, 13 Feb 2008 23:29:30 +0200 From: Adrian Bunk To: Boaz Harrosh , James Bottomley Cc: linux-kernel@vger.kernel.org, linux-scsi@vger.kernel.org Subject: [2.6 patch] make scsi_end_bidi_request() static Message-ID: <20080213212930.GD3383@cs181133002.pp.htv.fi> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline User-Agent: Mutt/1.5.17+20080114 (2008-01-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 933 Lines: 25 This patch makes the needlessly global scsi_end_bidi_request() static. Signed-off-by: Adrian Bunk --- 48e50a33ee11afb02eadc790ae2d9542b0805608 diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c index b12fb31..148c8b0 100644 --- a/drivers/scsi/scsi_lib.c +++ b/drivers/scsi/scsi_lib.c @@ -785,7 +785,7 @@ EXPORT_SYMBOL(scsi_release_buffers); * in req->data_len and req->next_rq->data_len. The upper-layer driver can * decide what to do with this information. */ -void scsi_end_bidi_request(struct scsi_cmnd *cmd) +static void scsi_end_bidi_request(struct scsi_cmnd *cmd) { struct request *req = cmd->request; unsigned int dlen = req->data_len; -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/