[2.6 patch] cfq-iosched.c: make some code static

From: Adrian Bunk
Date: Fri Feb 11 2005 - 14:07:26 EST


This patch makes some needlessly global code static.

Signed-off-by: Adrian Bunk <bunk@xxxxxxxxx>

---

This patch was already sent on:
- 29 Jan 2005

--- linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c.old 2005-01-29 14:05:30.000000000 +0100
+++ linux-2.6.11-rc2-mm1-full/drivers/block/cfq-iosched.c 2005-01-29 14:05:49.000000000 +0100
@@ -1790,7 +1790,7 @@
.store = cfq_attr_store,
};

-struct kobj_type cfq_ktype = {
+static struct kobj_type cfq_ktype = {
.sysfs_ops = &cfq_sysfs_ops,
.default_attrs = default_attrs,
};
@@ -1819,7 +1819,7 @@
.elevator_owner = THIS_MODULE,
};

-int cfq_init(void)
+static int cfq_init(void)
{
int ret;


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