From: Adrian Bunk <bunk@kernel.org>
Date: Sun, 30 Mar 2008 22:53:55 +0000 (+0300)
Subject: [SCSI] make scsi_end_bidi_request() static
X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=8c5e03d3cf70161413aaf7152dafa96daca5bb2f;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git

[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>
---

diff --git a/drivers/scsi/scsi_lib.c b/drivers/scsi/scsi_lib.c
index f40898dc2d1..1b199e15ce9 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;