[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kernel
Subject:    [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static
From:       Adrian Bunk <bunk () stusta ! de>
Date:       2005-02-28 22:01:55
Message-ID: 20050228220155.GS4021 () stusta ! de
[Download RAW message or body]

This patch makes a needlessly global function static.

Signed-off-by: Adrian Bunk <bunk@stusta.de>

---

 drivers/scsi/sym53c8xx_2/sym_hipd.c |    2 +-
 drivers/scsi/sym53c8xx_2/sym_hipd.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)

--- linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.h.old	2005-02-28 20:29:13.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.h	2005-02-28 20:29:19.000000000 +0100
@@ -1091,7 +1091,6 @@
 lcb_p sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln);
 int sym_queue_scsiio(struct sym_hcb *np, struct scsi_cmnd *csio, ccb_p cp);
 int sym_abort_scsiio(struct sym_hcb *np, struct scsi_cmnd *ccb, int timed_out);
-int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out);
 int sym_reset_scsi_target(struct sym_hcb *np, int target);
 void sym_hcb_free(struct sym_hcb *np);
 int sym_hcb_attach(struct sym_hcb *np, struct sym_fw *fw, struct sym_nvram *nvram);
--- linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.c.old	2005-02-28 20:29:27.000000000 +0100
+++ linux-2.6.11-rc4-mm1-full/drivers/scsi/sym53c8xx_2/sym_hipd.c	2005-02-28 20:29:40.000000000 +0100
@@ -5351,7 +5351,7 @@
 /*
  *  Abort a SCSI IO.
  */
-int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out)
+static int sym_abort_ccb(struct sym_hcb *np, ccb_p cp, int timed_out)
 {
 	/*
 	 *  Check that the IO is active.

-
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/
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic