[-mm patch] drivers/md/md.c: make code static
- From: Adrian Bunk <bunk@xxxxxxxxx>
- Date: Wed, 21 Jun 2006 23:57:40 +0200
This patch makes needlessly global code static.
Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>
---
drivers/md/md.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- linux-2.6.17-mm1-full/drivers/md/md.c.old 2006-06-21 22:59:44.000000000 +0200
+++ linux-2.6.17-mm1-full/drivers/md/md.c 2006-06-21 23:00:02.000000000 +0200
@@ -175,7 +175,7 @@
/* Alternate version that can be called from interrupts
* when calling sysfs_notify isn't needed.
*/
-void md_new_event_inintr(mddev_t *mddev)
+static void md_new_event_inintr(mddev_t *mddev)
{
atomic_inc(&md_event_count);
wake_up(&md_event_waiters);
@@ -2309,7 +2309,7 @@
*/
enum array_state { clear, inactive, suspended, readonly, read_auto, clean, active,
write_pending, active_idle, bad_word};
-char *array_states[] = {
+static char *array_states[] = {
"clear", "inactive", "suspended", "readonly", "read-auto", "clean", "active",
"write-pending", "active-idle", NULL };
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- 2.6.17-mm1
- From: Andrew Morton
- 2.6.17-mm1
- Prev by Date: [-mm patch] drivers/acpi/scan.c: make acpi_bus_type static
- Next by Date: [2.6 patch] drivers/mtd/devices/: remove dead _ecc code
- Previous by thread: [-mm patch] drivers/acpi/scan.c: make acpi_bus_type static
- Next by thread: [-mm patch] drivers/scsi/qla2xxx/: make some functions static
- Index(es):
Relevant Pages
|