Skip to contentSkip to conversation

SCSI atp870u.c: make a needlessly global function static

PATCH In review Adrian Bunk 2 participants 2 messages Nov 15, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI atp870u.c: make a needlessly global function static

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

drivers/scsi/atp870u.c renamed from drivers/scsi/atp870u.c.old +1 -1
@@ -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;
#1 lore raw
Quoted 2 lines · Adrian Bunk

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

ACK. Makes total sense