Skip to contentSkip to conversation

make scsi_end_bidi_request() static

PATCH New Adrian Bunk 1 participant 1 message Feb 13, 2008 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 make scsi_end_bidi_request() static

This patch makes the needlessly global scsi_end_bidi_request() static.

---
48e50a33ee11afb02eadc790ae2d9542b0805608

drivers/scsi/scsi_lib.c +1 -1
index b12fb31..148c8b0 100644
@@ -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;