* [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static
@ 2005-02-28 22:01 Adrian Bunk
2005-03-01 2:47 ` Matthew Wilcox
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2005-02-28 22:01 UTC (permalink / raw)
To: matthew; +Cc: James.Bottomley, linux-scsi, linux-kernel
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.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static
2005-02-28 22:01 [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static Adrian Bunk
@ 2005-03-01 2:47 ` Matthew Wilcox
0 siblings, 0 replies; 2+ messages in thread
From: Matthew Wilcox @ 2005-03-01 2:47 UTC (permalink / raw)
To: Adrian Bunk; +Cc: matthew, James.Bottomley, linux-scsi, linux-kernel
On Mon, Feb 28, 2005 at 11:01:55PM +0100, Adrian Bunk wrote:
> This patch makes a needlessly global function static.
Thanks, committed
--
"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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-01 2:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-28 22:01 [2.6 patch] drivers/scsi/sym53c8xx_2/sym_hipd.c: make a function static Adrian Bunk
2005-03-01 2:47 ` Matthew Wilcox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox