Skip to contentSkip to conversation

drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static

PATCH In review Adrian Bunk 2 participants 2 messages Feb 28, 2005 – Mar 1, 2005

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static

This patch makes a needlessly global function static.

---

 drivers/scsi/sym53c8xx_2/sym_hipd.c |    2 +-
 drivers/scsi/sym53c8xx_2/sym_hipd.h |    1 -
 2 files changed, 1 insertion(+), 2 deletions(-)
drivers/scsi/sym53c8xx_2/sym_hipd.h renamed from drivers/scsi/sym53c8xx_2/sym_hipd.h.old +0 -1
@@ -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);
drivers/scsi/sym53c8xx_2/sym_hipd.c renamed from drivers/scsi/sym53c8xx_2/sym_hipd.c.old +1 -1
@@ -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.
#1 lore raw
Quoted 1 line · Adrian Bunk

This patch makes a needlessly global function static.

Thanks, committed

Signature · 6 lines
"Next the statesmen will invent cheap lies, putting the blame upon 
the nation that is attacked, and every man will be glad of those
conscience-soothing falsities, and will diligently study them, and refuse
to examine any refutations of them; and thus he will by and by convince 
himself that the war is just, and will thank God for the better sleep 
he enjoys after this process of grotesque self-deception." -- Mark Twain