summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2008-03-31 00:53:55 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2008-04-07 19:19:08 +0200
commit8c5e03d3cf70161413aaf7152dafa96daca5bb2f (patch)
tree5a228b528af16644d26aa2d11d53309ffc099ead /drivers/scsi
parent[SCSI] hptiop: fix header.context usage (diff)
downloadlinux-8c5e03d3cf70161413aaf7152dafa96daca5bb2f.tar.xz
linux-8c5e03d3cf70161413aaf7152dafa96daca5bb2f.zip
[SCSI] make scsi_end_bidi_request() static
This patch makes the needlessly global scsi_end_bidi_request() static. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Boaz Harrosh <bharrosh@panasas.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/scsi_lib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index f40898dc2d14..1b199e15ce9b 100644
--- a/drivers/scsi/scsi_lib.c
+++ b/drivers/scsi/scsi_lib.c
@@ -784,7 +784,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;