* [2.6 patch] SCSI atp870u.c: make a needlessly global function static
@ 2004-11-15 1:54 Adrian Bunk
2004-11-15 13:38 ` Alan Cox
0 siblings, 1 reply; 2+ messages in thread
From: Adrian Bunk @ 2004-11-15 1:54 UTC (permalink / raw)
To: Red Hat; +Cc: James.Bottomley, linux-scsi, linux-kernel
The patch below makes the function is870 which has no external users
static.
Signed-off-by: Adrian Bunk <bunk@stusta.de>
--- linux-2.6.10-rc1-mm5-full/drivers/scsi/atp870u.c.old 2004-11-13 17:17:15.000000000 +0100
+++ linux-2.6.10-rc1-mm5-full/drivers/scsi/atp870u.c 2004-11-13 17:17:41.000000000 +0100
@@ -1085,7 +1085,7 @@
}
-void is870(struct Scsi_Host *host, unsigned int wkport)
+static void is870(struct Scsi_Host *host, unsigned int wkport)
{
unsigned int tmport;
unsigned char i, j, k, rmb, n;
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [2.6 patch] SCSI atp870u.c: make a needlessly global function static
2004-11-15 1:54 [2.6 patch] SCSI atp870u.c: make a needlessly global function static Adrian Bunk
@ 2004-11-15 13:38 ` Alan Cox
0 siblings, 0 replies; 2+ messages in thread
From: Alan Cox @ 2004-11-15 13:38 UTC (permalink / raw)
To: Adrian Bunk; +Cc: Red Hat, James.Bottomley, linux-scsi, linux-kernel
On Mon, Nov 15, 2004 at 02:54:30AM +0100, Adrian Bunk wrote:
> The patch below makes the function is870 which has no external users
> static.
ACK. Makes total sense
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-11-15 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-15 1:54 [2.6 patch] SCSI atp870u.c: make a needlessly global function static Adrian Bunk
2004-11-15 13:38 ` Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).