2004-11-15 02:09:30

by Adrian Bunk

[permalink] [raw]
Subject: [2.6 patch] SCSI atp870u.c: make a needlessly global function static

The patch below makes the function is870 which has no external users
static.


Signed-off-by: Adrian Bunk <[email protected]>

--- 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;


2004-11-15 13:39:52

by Alan Cox

[permalink] [raw]
Subject: Re: [2.6 patch] SCSI atp870u.c: make a needlessly global function static

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