Skip to contentSkip to conversation

SCSI: dpt_i2o.c: make some code static (fwd)

PATCH New Adrian Bunk 1 participant 1 message Nov 24, 2004 SCSI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 SCSI: dpt_i2o.c: make some code static (fwd)

The patch forwarded below still applies and compiles against 2.6.10-rc2-mm3.

Please apply.

----- Forwarded message from Adrian Bunk <[email protected]> -----

Date: Mon, 15 Nov 2004 02:57:36 +0100
From: Adrian Bunk <[email protected]>
To: [email protected]
Cc: [email protected], [email protected],
[email protected]
Subject: [2.6 patch] SCSI: dpt_i2o.c: make some code static

The patch below makes some needlessly global code static.

drivers/scsi/dpt_i2o.c renamed from drivers/scsi/dpt_i2o.c.old +1 -1
@@ -108,7 +108,7 @@
  *============================================================================
  */
 
-DECLARE_MUTEX(adpt_configuration_lock);
+static DECLARE_MUTEX(adpt_configuration_lock);
 
 static struct i2o_sys_tbl *sys_tbl = NULL;
 static int sys_tbl_ind = 0;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

----- End forwarded message -----